Re: Write.lock issue in apache SOLR using AnalyzingInfixLookupFactory

2016-06-23 Thread Erick Erickson
What is the exact error message you receive? What is the query you send? And what version of Solr are you using? Best, Erick On Wed, Jun 22, 2016 at 1:55 PM, Abhijit Pawar wrote: > Hello, > > I am developer working on apache SOLR implementation here developing an > application where I am using

Re: Preprocess input text before tokenizing

2016-06-23 Thread Ahmet Arslan
Hi, Zero or more CharFilter(s) is the way to manipulate text before the tokenizer. I think init reader is the method you want to plug char filters. https://github.com/apache/lucene-solr/blob/master/lucene/analysis/morfologik/src/java/org/apache/lucene/analysis/uk/UkrainianMorfologikAnalyzer.java

Preprocess input text before tokenizing

2016-06-23 Thread Jaime
Hello, I want to change the input text before tokenizing. I think I just need to use some characters as word separators, and maybe remove some others completely. I was planning to use MappingCharFilterFactory to replace some chars with " " and others with "", but I feel like I'm not in the r

Re: Synchronous Lucene index update tests occasionally fail

2016-06-23 Thread Michael McCandless
You must reopen your IndexReader to see recent changes to the index. But, IW.commit after each indexing op is very costly. It's much better to get near-real-time readers, e.g. from a SearcherManager that you pass your IW instance too, after each set of changes that you now need to search. As lon

Synchronous Lucene index update tests occasionally fail

2016-06-23 Thread Baskakov Daniel
Originally i've posted the question at stackoverflow.com but without any reply. So I hope someone can help me in the official list. I'm testing that dynamic changes of the domain model reflects at the Lucene index. Special event listeners (synchronous, no multithreading here) are executed when the

IllegalStateExceptions after upgrading to 6.1.0

2016-06-23 Thread Jan-Willem van den Broek
Hi all, After upgrading to 6.1.0 I get IllegalStateExceptions in my application. I've sadly not been able to reduce it to a small test, but I can reproduce it consistently in the full application. I can't reproduce it with the previous release (6.0.1), so it seems to be related to something tha