You can use query.rewrite(IndexReader).
>
> Erik
>
>
> On Jul 7, 2005, at 3:04 PM, Terence Lai wrote:
>
> > Hi all,
> >
> > I am currently using Lucene 1.4.2. Since my search documents are
> > huge, I divide the search index into different index dire
Hi all,
I am currently using Lucene 1.4.2. Since my search documents are huge, I divide
the search index into different index directory and make use of the
ParallelMultiSearcher to perform the search.
Currently, I am working on the highlight feature using Lucene Sandbox
Highlighter. One of the
Hi,
I am currently using Lucene 1.4.2 with the highighter downloaded from Lucene In
Action.
The Highlighter class provides the following method to highlight the terms
specified in the Query:
/**
* Highlights chosen terms in a text, extracting the most relevant section.
* The document text is
Hi all,
I have a couple questions regarding to the Highlighter.
Question 1:
===
I download the highlighter source files. When I compile the code, I got the
following error:
org/apache/lucene/search/highlight/TokenSources.java [19:1] cannot resolve
symbol
symbol : clas
Hi all,
As far as I know, I don't find any Lucene API for updating an index document.
What I have to do is to delete the existing index document and insert a new
one. However, this is going to be 2 separate operations (delete and update). If
the first operation suceeds while the second operatio