Re: Last/max term in Lucene 4.x

2011-02-20 Thread Jason Rutherglen
> Though, if you just want to get to the last term... VarGap's terms > index can quickly tell you the last indexed term, and from there you > can scan to the last term? (It'd be at most 32 (by default) scans). In VariableGapTermsIndexReader, IndexEnum doesn't support ord. How would I seek to the

encodeNormValue

2011-02-20 Thread Kim Kokkonen
Hi. I'd like to take advantage of the overrideable encodeNormValue method in Similarity. From revision history it looks like this change was checked in on 11/24/09, and that a Branch for 3.x was created after that. But when I look in Lucene 3.0.3, apparently released on 11/28/10, the method is not

Re: Last/max term in Lucene 4.x

2011-02-20 Thread Michael McCandless
On Sat, Feb 19, 2011 at 8:42 AM, Jason Rutherglen wrote: >> But you have to >> use a terms index impl that supports ord (eg FixedGap). > > Ok, and the VariableGap is the new standard because the FST is much > more efficient as a terms index?  Perhaps I'd need to create a codec > (or patch the exi

Re: About PDF+Lucene

2011-02-20 Thread Alexander Aristov
use PDFBOX for the purpose. It can create PDF docs. But you will have to do it yourself. And Gong is right, it's not write place asking such questions Best Regards Alexander Aristov On 20 February 2011 02:16, Simon Willnauer wrote: > Hi Gong Li, > > your question is out of scope of this list.