Re: Index and Search question in Lucene.

2004-08-21 Thread Ernesto De Santis
Hi Dimitri What analyzer you use? You need take carefully with Keyword fields and analyzers. When you index a Document, the fields that have set tokenized = false, like Keyword, are not analyzed. In search time you need parse the query with your analyzer but not analyze the untokenized fields, l

RE: index and search question

2004-08-09 Thread Aviran
yes -Original Message- From: Dmitrii PapaGeorgio [mailto:[EMAIL PROTECTED] Sent: Monday, August 16, 2004 9:23 AM To: [EMAIL PROTECTED] Subject: index and search question Ok so when I index a file such as below Document doc = new Document(); doc.Add(Field.Text("contents", new StreamRead

Re: index and search question

2004-06-20 Thread Incze Lajos
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))); >