lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bhavin Pandya" <bhav...@rediff.co.in>
Subject IndexReader.docFreq
Date Wed, 17 Jan 2007 11:16:38 GMT
Hi,

I am confused using IndexReader.docFreq...

I am using lucene 1.9 ....my code snippet is,


int noofdoc = mreader.docFreq(new Term("TITLE","friends"));

where mreader is MultiReader...

few doc from index which has TITLE likes...

friends in usa
girl friends
boy friends

but "noofdoc" is showing zero.......

Any pointer....

- Bhavin pandya

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