lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jack McBane <jakmcb...@gmail.com>
Subject changing prefix queries to use a filter instead of expanding terms
Date Mon, 13 Feb 2006 18:17:44 GMT
Hi all,

I've been using lucene for some number of months now and for the most part
it has worked great. One thing that we have had problems with is prefix
queries expanding to the point of making the search fail due to many terms.
The part of our application that this happens is people entering the first
part of a part number which is practically a unique key and we don't really
care about having contribute to the score of the hit. Along those lines I
was thinking about adding some functionality to the code that expands prefix
queries to create a filter and use that instead of just expanding the
individual terms. Can anyone see any major issues with doing it this way?
Has anyone else tried to do something like this? Any pointers on what I
should be looking at or maybe gotchas to avoid?

Any advice would be appreciated.

Thanks.

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