how to match Documents from Hits with Documents from Query Spans?

2006-04-17 Thread Boris Galitsky
Hello I am using span queries to get hits (Documents) and occurrences (positions) of search terms within these documents. For some reason, there is a disagreement between the order the Documents are returned in hits, and the Documents are referenced (via order number, starting from 0) in the S

desired constructor Field("contents", new FileReader(f), Field.Store.COMPRESS)

2006-08-15 Thread Boris Galitsky
ew FileReader(f) and Field.Store.COMPRESS ? Regards -- Boris Galitsky. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

analyzer to populate more that one field of Lucene document

2006-09-21 Thread Boris Galitsky
); Document doc = new Document(); doc.add(new Field("numeric_contents", new FileReader(f))); // numeric tokens doc.add(new Filed("other_contents", new FileReader(f))); //the same file but other than numeric tokens Than

Re: analyzer to populate more that one field of Lucene document

2006-09-21 Thread Boris Galitsky
sed to facilitate scenarios where different fields require different analysis techniques.>>> Best Erick On 9/21/06, Boris Galitsky <[EMAIL PROTECTED]> wrote: > > I need to create two fields for Lucene documents populated > 1) by numbers > 2) by other strings > 3) by va