Hi
I need to know how i display the sentence the Hit is in?
cheers
anton
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi
i would like to know, how do you get the Hits. Do you use tokens?
If you use Tokens could i write a tokenizer to mkae tokens out of
scentence?
thanks
Anton Feldmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Daniel Naber schrieb:
On Dienstag 11 April 2006 19:44, Anton Feldmann wrote:
i would like to know, how do you get the Hits. Do you use tokens?
If you use Tokens could i write a tokenizer to mkae tokens out of
scentence?
Ich verstehe die Frage nicht so ganz... aber sie gehört wohl auf
Hi
I am writing a application to find words into a sentence.
I began with the Formatter:
import org.apache.lucene.search.highlight.Formatter;
import org.apache.lucene.search.highlight.TokenGroup;
public class SimpleSentenceFormatter implements Formatter{
String tag;
/**
Hi
I wrote a Indexer which is indexing all the contents of a text and the
sentence are seperated in an other Document.
"Document document = new Document(new Field ("contents", reader ));
StringTokenizer token = new StringTokenizer(contents.replaceAll(". ",
"\\.x\\") , "\\.x\