[Xapian-discuss] Search with symbols causes search time to
hemorrhage
oscaruser at programmer.net
oscaruser at programmer.net
Mon Aug 7 22:20:44 BST 2006
Interesting ... looks like the first form of the query was subdivided into "PHRASE 2" based on the symbols, whereas the second form was strictly an ORing of search keywords. The second form is what I want to acheive, but with the special symbols. Should I enclose every part in quote marks to achieve this?
Thanks,
OSC
Query : Men's Levi's Low Rise Boot Cut 527 Jeans - Downtown
Query Description : Xapian::Query(((Rmen:(pos=1) PHRASE 2 s:(pos=2)) OR (Rlevi:(pos=3) PHRASE 2 s:(pos=4)) OR Rlow:(pos=5) OR Rrise:(pos=6) OR Rboot:(pos=7) OR Rcut:(pos=8) OR 527:(pos=9) OR Rjeans:(pos=10) OR Rdowntown:(pos=11)))
Query : Men s Levi s Low Rise Boot Cut 527 Jeans Downtown
Query Description : Xapian::Query((Rmen:(pos=1) OR s:(pos=2) OR Rlevi:(pos=3) OR s:(pos=4) OR Rlow:(pos=5) OR Rrise:(pos=6) OR Rboot:(pos=7) OR Rcut:(pos=8) OR 527:(pos=9) OR Rjeans:(pos=10) OR Rdowntown:(pos=11)))
> ----- Original Message -----
> From: "James Aylett" <james-xapian at tartarus.org>
> To: xapian-discuss at lists.xapian.org
> Subject: Re: [Xapian-discuss] Search with symbols causes search time to hemorrhage
> Date: Mon, 7 Aug 2006 09:22:17 +0100
>
>
> On Sun, Aug 06, 2006 at 07:46:34PM -0800, oscaruser at programmer.net wrote:
>
> > Searching for terms like with non-alpha numerical symbols causes
> > great delays before search results appears. I am searching 5 M pages
> > (~76 GB) of shopping site web data for things like "Men's Levi's Low
> > Rise Boot Cut 527 Jeans - Downtown", which has symbols " ' ",
> > "-". The xapian DB is on a fast SCSI RAID 0, dual Xeon
> > configuration, but still I see long search times e.g. "Search took
> > 166.606332 seconds". If I remove these symbols and replace them with
> > space, the search times are good (subsecond). However if there are
> > any weird symbols in the search string, then it takes a very long
> > time. Is there anything that I can do about this, so that I still am
> > searching using the special symbols, but the result time is reduced?
>
> Can you modify your omega template so that it spits out what the
> parsed query is both with and without the special characters?
>
> James
>
> --
> /--------------------------------------------------------------------------\
> James Aylett xapian.org
> james at tartarus.org uncertaintydivision.org
>
> _______________________________________________
> Xapian-discuss mailing list
> Xapian-discuss at lists.xapian.org
> http://lists.xapian.org/mailman/listinfo/xapian-discuss
>
--
___________________________________________________
Play 100s of games for FREE! http://games.mail.com/
More information about the Xapian-discuss
mailing list