Re: spellcheck-index is rebuilt on commit

2012-01-03 Thread OliverS
A jira-ticket has been issued, this discussion here is closed. https://issues.apache.org/jira/browse/SOLR-2999 Oliver -- View this message in context: http://lucene.472066.n3.nabble.com/spellcheck-index-is-rebuilt-on-commit-tp3626492p3628894.html Sent from the Solr - User mailing list archive at

Re: spellcheck-index is rebuilt on commit

2012-01-03 Thread OliverS
Thanks for the clear explanation. I'll open a ticket as soon as jira is up running again. Oliver -- View this message in context: http://lucene.472066.n3.nabble.com/spellcheck-index-is-rebuilt-on-commit-tp3626492p3628603.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: spellcheck-index is rebuilt on commit

2012-01-03 Thread Simon Willnauer
On Tue, Jan 3, 2012 at 9:12 AM, OliverS wrote: > Hi all > > Thanks a lot, and it seems to be a bug, but not of 4.0 only. You are right, > I was doing a commit on an optimized index without adding any new docs (in > fact, I did this for replication on the master). I will open a ticket as > soon as

Re: spellcheck-index is rebuilt on commit

2012-01-03 Thread OliverS
Hi all Thanks a lot, and it seems to be a bug, but not of 4.0 only. You are right, I was doing a commit on an optimized index without adding any new docs (in fact, I did this for replication on the master). I will open a ticket as soon as I fully understand what's going on. I have difficulties und

Re: spellcheck-index is rebuilt on commit

2012-01-02 Thread Jan Høydahl
Reproduced this both on 3.X and trunk using exampledocs. If you have an optimized index, then reindex ALL docs with a COMMIT, then there will be only one segment, probably because all docs in the previous segment were deleted. Adding just a few docs and COMMITting does not trigger this case. --

Re: spellcheck-index is rebuilt on commit

2012-01-02 Thread Mark Miller
Yeah, the only code path I can see this happening on is: newSearcher.getIndexReader().getSequentialSubReaders().length == 1 So if you keep issuing commits on an optimized index, it will open a new Searcher and keep rebuilding the index. Really, this should probably *only* trigger on an optimize

Re: spellcheck-index is rebuilt on commit

2012-01-02 Thread Simon Willnauer
hey, is it possible that during those commits nothing has changed in the index? I mean are you committing nevertheless there are changes? if so this could happen since the spellchecker gets a new even that you did a commit but the index didn't really change. The spellchecker really only checks if t

Re: spellcheck-index is rebuilt on commit

2012-01-02 Thread OliverS
Hi Looks like they strip the -Text for the list. Whole message here: http://lucene.472066.n3.nabble.com/spellcheck-index-is-rebuilt-on-commit-td3626492.html Yes, I did restart tomcat. Thanks Oliver Zitat von "Jan Høydahl / Cominvent [via Lucene]" : > > > Olivier, your log snippets did not ma

Re: spellcheck-index is rebuilt on commit

2012-01-02 Thread Jan Høydahl
Olivier, your log snippets did not make it into the mail. I think the mailing list strips attachments. Did you reload core or restart Jetty/Tomcat after your changes? -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com Solr Training - www.solrtraining.com On 2. jan. 2012,