gt; Lucene Database Search in 3 minutes:
> http://wiki.dbsight.com/index.php?title=Create_Lucene_Database_Search_in_3_minutes
> DBSight customer, a shopping comparison site, (anonymous per request) got
> 2.6 Million Euro funding!
>
>
> Mathias Bank wrote:
>>
>> Hi,
>>
>
> BitSet set = filter.bits(reader);
>
> int numDocs
>
> TermDocs termDocs = reader.termDocs(new Term("myField", "myTerm"));
>
> while (termDocs.next()) {
>
> if(set.get(termDocs.doc()))
>
> numDocs++;
>
> }
>
>
>
> would th
; simon
>
> On Tue, Sep 15, 2009 at 2:19 PM, Mathias Bank wrote:
>> Hello,
>>
>> I'm trying to find the number of documents for a specific term to
>> create text statistics. I'm not interested in ordering the results or
>> even recieving the first result. I ju
Hello,
I'm trying to find the number of documents for a specific term to
create text statistics. I'm not interested in ordering the results or
even recieving the first result. I just need the number of results.
Currently, I'm trying to do this by using the lucene searcher class:
IndexSearcher se