hits

2006-04-05 Thread Anton Feldmann
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]

HITS

2006-04-11 Thread Anton Feldmann
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

Re: HITS

2006-04-12 Thread anton feldmann
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

SentenceHighlighter

2006-04-19 Thread Anton Feldmann
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; /**

lucene search sentence

2006-04-27 Thread Anton Feldmann
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\