Hi Alex, <br>
<br>
what is your hardware ? <br>
How many documents do you have in your flint database ?<br>
<br>
wow .. I am complaining about search time > 0.5s and you have search time > 1 min !<br>
<br>
I don't use phrase searching but that sounds really bad performances.<br>
<br>
Regards<br>
<br>
<br><br><div><span class="gmail_quote">On 2/20/06, <b class="gmail_sendername">Alex Deucher</b> <<a href="mailto:alexdeucher@gmail.com">alexdeucher@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Is there any way to speed up phrase searches? What sort of<br>performance should I expect? Currently when I search against a 5.3 GB<br>flint database it takes 4.5 minutes for a simple 2 word phrase. Is<br>that reasonable performance? I've seen some other threads about
<br>xapian phrase performance, but none seem to indicate what reletively<br>"normal" performance should be and I'm not sure what I should expect.<br>I'm using the perl interface to xapian 0.9.2. I'm building my own
<br>Query objects rather than using QueryParser since we use ':' as part<br>of our field prefix. What popped out at me was that my query looks<br>like:<br><br>Xapian::Query((FIELD:term1 PHRASE 2 FIELD:term2))<br><br>while QueryParser's looks like:
<br><br>Xapian::Query((term1(pos=1) PHRASE 2 term2(pos=2)))<br><br>where is the position information coming from and how do I add it to<br>my query? Will it help or is it irrelevant? The query object (at<br>least the perl interface) only allows me to build queries of the form:
<br>("term")<br>or<br>(OP, "term", "term"...)<br>or<br>(OP, query, query...)<br><br>I can't seem to specify position.<br><br><br>Thanks,<br><br>Alex<br><br>_______________________________________________
<br>Xapian-discuss mailing list<br><a href="mailto:Xapian-discuss@lists.xapian.org">Xapian-discuss@lists.xapian.org</a><br><a href="http://lists.xapian.org/mailman/listinfo/xapian-discuss">http://lists.xapian.org/mailman/listinfo/xapian-discuss
</a><br></blockquote></div><br><br clear="all"><br>-- <br>David LEVY {selenium}<br>Website ~ <a href="http://www.davidlevy.org">http://www.davidlevy.org</a><br>Wishlist Zlio ~ <a href="http://david.zlio.com/wishlist">http://david.zlio.com/wishlist
</a><br>Blog ~ <a href="http://selenium.blogspot.com">http://selenium.blogspot.com</a><br>