Re: Upgrading from lucene 2.9.1 to 5.X

2015-07-16 Thread Erick Erickson
You have two real choices here: 1> reindex your corpus under 5x 2> follow a tortuous upgrade path. Solr/Lucene only promise to be backwards compatible through one major version. Thus Lucene 3x can read Lucene 2x. But Lucene 4x cannot read read Lucene 2x. So you'd have to go 2x->3x->4x->5x with cha

Re: Upgrading from lucene 2.9.1 to 5.X

2015-07-16 Thread Shah, Amish
No, the file format is not compatible. I think it changed in 4.0. Amish On 7/16/15, 6:45 PM, "Shuangyang Yang" wrote: >Hi there, > >We are using lucene 2.9.1 in our product and thinking of upgrading to >5.X. Is it plausible? Is the file format compatible? Is there any guide >document that can

Upgrading from lucene 2.9.1 to 5.X

2015-07-16 Thread Shuangyang Yang
Hi there, We are using lucene 2.9.1 in our product and thinking of upgrading to 5.X. Is it plausible? Is the file format compatible? Is there any guide document that can give tips on how to do it? Thank you very much Best Regards --- Shuangyang Yang linkedin.com/in/everyoung

Re: What on earth is FilteredQuery.explain doing?

2015-07-16 Thread Terry Smith
TX, Thanks for confirming the fix. You should be able to apply that locally for 5.2 until 5.3 is released. I'll work to get closure on LUCENE-6679 in the meantime. --Terry On Wed, Jul 15, 2015 at 7:07 PM, Trejkaz wrote: > On Wed, Jul 15, 20

StandardTokenizer#setMaxTokenLength

2015-07-16 Thread Piotr Idzikowski
Hello. I am developing own analyzer based on StandardAnalyzer. I realized that tokenizer.setMaxTokenLength is called many times. *protected TokenStreamComponents createComponents(final String fieldName, final Reader reader) {* *final StandardTokenizer src = new StandardTokenizer(getVersion(),