Re: Is it necessary to create a new searcher?

2012-01-14 Thread Cheng
That sounds like what I am looking for. But do you have some code example about how to use this NRTManager? On Fri, Jan 13, 2012 at 12:05 PM, Ian Lea wrote: > The javadocs for oal.search.SearcherManager start "Utility class to > safely share IndexSearcher instances across multiple threads, whil

Re: Is it necessary to create a new searcher?

2012-01-14 Thread Cheng
I just found some interesting stuff here: https://builds.apache.org/job/Lucene-3.x/javadoc/contrib-misc/org/apache/lucene/index/NRTManagerReopenThread.html How the NRTManager is plugged into my executeservice framework? On Sun, Jan 15, 2012 at 1:04 AM, Cheng wrote: > That sounds like what I

best query for one-box search string over multiple types & fields

2012-01-14 Thread Johnny Marnell
hi all, short of it: i want "queen bohemian rhapsody" to return that song named "Bohemian Rhapsody" by the artist named "Queen", rather than songs with titles like "Bohemian Rhapsody (Queen Cover)". i'm indexing a catalog of music with these types of docs and their fields: artist (artistName), a