On Sun, Jun 20, 2004 at 09:46:42AM +, Dmitrii PapaGeorgio wrote:
> Let's say I index documents using this
>
> Document doc = new Document();
> doc.add(Field.Text("file1", (Reader) new InputStreamReader(is)));
> doc.add(Field.Text("file2", (Reader) new InputStreamReader(is2)));
>
Let's say I index documents using this
Document doc = new Document();
doc.add(Field.Text("file1", (Reader) new InputStreamReader(is)));
doc.add(Field.Text("file2", (Reader) new InputStreamReader(is2)));
And want to do a search like this
file1:Word file2:Word2
Basically doing a search
> A question before I dive into coding a fix: can I assume (for
> all analyzers) that the tokens produced by the tokenStream
> have the following property:
>currentToken.startOffset() >= lastToken.startOffset()
>
> The analyzers I have tested the highlighter with so far have
> the property:
>