Re[2]: Faster highlighting with TermPositionVectors (update)

2004-11-11 Thread Maxim Patramanskij
Hello Mark. I'm just wondered about the following piece of code from your latest TokenSources class: public static TokenStream getAnyTokenStream(IndexReader reader,int docId, String field,Analyzer analyzer) throws IOException { TokenStream ts=null;

Re[2]: indexes won't close on windows

2004-09-20 Thread Maxim Patramanskij
Hello Fred, When you recreate an index from the scratch (with the last IndexWriter constructor's argument true), all IndexReaders must be closed, cause IndexWriter tries to delete all files entire directory, where you index being created. If you have any opened IndexReader within this time, then

Re: PDF-Text Performance comparison

2004-09-09 Thread Maxim Patramanskij
Hello Ben, I've been using PDFBox within last year, but only version 0.6.3, because of 2 reasons: 1) I tried to migrate to never versions(o.6.4, 0.6.5, 0.6.6), but all the time I had problems with parsing the same pdf documents, which worked well for 0.6.3. I mentioned my problems here:

DateFilter or RangeQuery

2003-12-04 Thread Maxim Patramanskij
Hello lucene-users. What is the better way to filter search results by date (which is one of the indexed fields): - use RangeQuery against date field as a required part of boolean query; - use DateFilter First approach seems to be problematic since I have to extremely increase