lucenenet-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harris, Tobin" <>
Subject Phrase Matching
Date Fri, 08 Sep 2006 13:28:26 GMT
Hi Folks,


We want to search our lucene index for an exact phrase that is:


 “t in the park”


Note: the resulting lucene query string is something like:


body:(“t in the park”)


However, Lucene uses the default stop word list and therefore translates this phrase to simply
“park”. This gets a LOT of matches of course :-)


Any idea how would I set up Lucene so that we can search for phrases in this way? I’m concerned
about removing stop words since it may cause the index to grow huge (we currently add 60,000
items to our index per day). 


Any help mucho appreciated.





Socena Ltd
Software Development Services

t: +44 113 2179134           f: +44 870 762 6678

s: tobinharris

35 Kirkstall Avenue, Leeds, LS5 3DW, UK


No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.12.2/441 - Release Date: 07/09/2006

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message