RE : indexWriter

2007-02-02 Thread Virlouvet Olivier
Hi Erik The \ must be escaped in the path, i.e : ...new File("c:\\temp"); Regards, Olivier [EMAIL PROTECTED] a écrit : Hello, Does anyone know why this does not work? The fileDir is of the class File and points to an empty temp directory. I tried switching true and false import org.apache.

Highlight specific occurence

2006-09-25 Thread Virlouvet Olivier
Hi All, I use proximity operator in my queries (for example "w1 w2 WITHIN 4" to find all documents where the distance between w1 and w2 and less or equals to 4) For all documents matching the query, I need to know the corresponding occurences (w1, w2) to highlight them (and so ex

Ordered positions

2006-09-26 Thread Virlouvet Olivier
Hi In javadoc IndexReader.termPositions() maps to the definition : Term=> >* where returned enumeration is ordered by doc number. Are positions ordered for each doc or not ? Thanks Olivier - Yahoo!