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 &gt; 0.5s and you have search time &gt; 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> &lt;<a href="mailto:alexdeucher@gmail.com">alexdeucher@gmail.com</a>&gt; 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?&nbsp;&nbsp;What sort of<br>performance should I expect?&nbsp;&nbsp;Currently when I search against a 5.3 GB<br>flint database it takes 4.5 minutes for a simple 2 word phrase.&nbsp;&nbsp;Is<br>that reasonable performance?&nbsp;&nbsp;I've seen some other threads about
<br>xapian phrase performance, but none seem to indicate what reletively<br>&quot;normal&quot; performance should be and I'm not sure what I should expect.<br>I'm using the perl interface to xapian 0.9.2.&nbsp;&nbsp;I'm building my own
<br>Query objects rather than using QueryParser since we use ':' as part<br>of our field prefix.&nbsp;&nbsp;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?&nbsp;&nbsp;Will it help or is it irrelevant?&nbsp;&nbsp;The query object (at<br>least the perl interface) only allows me to build queries of the form:
<br>(&quot;term&quot;)<br>or<br>(OP, &quot;term&quot;, &quot;term&quot;...)<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>