RE: IndexSearcher in Servlet

2006-06-27 Thread Crump, Michael
Hello, I have another question along this line. One of the points made in this thread was to never create a new IndexSearcher for each query. Is this true even in the case that an IndexSearcher is being created with a static or cached IndexReader using the IndexSearcher(IndexReader reader) const

Boolean query term match count

2006-05-25 Thread Crump, Michael
Hello, I'm working on a search application and I need to know if it is possible to get the number of terms that actually matched a Boolean query. For example let's say I have field test with values aaa bbb ccc d e f and I constructed a Boolean query like this: test:aaa OR test:bbb OR test:e i