Re: getting text-snippets

2005-06-23 Thread Erik Hatcher
On Jun 23, 2005, at 10:17 AM, Ulrich Schinz wrote: Field.Text(String, Reader) is not a stored field. This is why doc.get("contents") is empty. ok, i read that in javadoc of lucene... in dont understand what Field.Text(String,Reader,boolean) does... if i set boolean to true, what is the

Re: getting text-snippets

2005-06-23 Thread Ulrich Schinz
Field.Text(String, Reader) is not a stored field. This is why doc.get("contents") is empty. ok, i read that in javadoc of lucene... in dont understand what Field.Text(String,Reader,boolean) does... if i set boolean to true, what is the stortermvector?? You have some options... change t

Re: getting text-snippets

2005-06-23 Thread Erik Hatcher
On Jun 23, 2005, at 6:41 AM, Ulrich Schinz wrote: hi there! first of all: im new here in the list, my name is uli. hello to all ! im quite new in using lucene. i created different indices, some with GermanAnalyzer some with StandardAnalyzer... i added Fields to my Documents with doc.add(Fiel

getting text-snippets

2005-06-23 Thread Ulrich Schinz
hi there! first of all: im new here in the list, my name is uli. hello to all ! im quite new in using lucene. i created different indices, some with GermanAnalyzer some with StandardAnalyzer... i added Fields to my Documents with doc.add(Field.Text("contents",new FileReader(f)); and doc.add(