Hello,
Is it possible to quickly get the total number of terms from all
documents in an Lucene index for a given field?
For example IndexReader has a method "int numDocs()", I would need a
similar method "int numTerms(String field)".
It looks a bit silly to use IndexReader.terms() and count the
Rob Young wrote:
Hi,
I'm trying to create another, slightly changed, version of
StandardAnalyzer. I've coppied out the source, editted the .jj file
and re-built the StandardTokenizer class. The problem I am facing is,
when I have all this in eclipse it's telling me that the
ParseException is
iring -- http://tinyurl.com/7m67g
On 10/21/05, Roxana Angheluta <[EMAIL PROTECTED]> wrote:
Thank you, Yonik, it seems this is the case.
What can we do in this case? Would running the program with java
-d32 be
a solution?
Thanks again,
roxana
One possibility: if lucene runs out of memo
//tinyurl.com/7m67g
On 10/21/05, Roxana Angheluta <[EMAIL PROTECTED]> wrote:
Thank you, Yonik, it seems this is the case.
What can we do in this case? Would running the program with java -d32 be
a solution?
Thanks again,
roxana
One possibility: if lucene runs out of memory while addin
ctory. These are intermediate files and
shouldn't exist for long in a compound-file index.
-Yonik
Now hiring -- http://tinyurl.com/7m67g
On 10/20/05, Roxana Angheluta <[EMAIL PROTECTED]> wrote:
Hi everybody!
We have a large Lucene index which gets updated very often.
Until recently
Hi everybody!
We have a large Lucene index which gets updated very often.
Until recently the java virtual machine used to manage the index was on
32 bits, although the program was running on a 64bits station. Last week
we changed the java to 64 bits and since then we experience strange
problem
Dear all,
I am using Lucene for indexing documents.
I would like to include phrases (of a certain maximum length given
as a parameter) in the index. I know this is non-standard for e.g.
searching, where a PhraseQuery can be built which makes use of the
terms positions. However, I am not
Dear all,
I am using Lucene for indexing documents.
I would like to include phrases (of a certain maximum length given as a
parameter) in the index. I know this is non-standard for e.g. searching,
where a PhraseQuery can be built which makes use of the terms positions.
However, I am not inter