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\

Re: How to serach in sentence and dispaly the whole sentence

2006-04-26 Thread anton feldmann
do now and then post process to figure out what sentence it came from. This will be inefficient, but I don't know what your requirements are that way, so it may work for you. There are probably other ways too. anton feldmann wrote: I intend, to make a search, to find a word or a word pair

How to display a field value

2006-04-26 Thread anton feldmann
Hi how do i display the whole field value of an document the query string is found? cheers anton - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Highlight

2006-04-26 Thread anton feldmann
Hi I wrote a program that make a pdf document to an Lucene document. The field ate "contents", "sentence", : How do i display the sentence the query String is in? and how do I Highlight the String? cheers anton feldmann package de.coli.seek.lucene; import

How to serach in sentence and dispaly the whole sentence

2006-04-23 Thread anton feldmann
, how I have to change the IndexFile, whether that conforms with the Lucene Team. cheers anton feldmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]