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(

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