Re: solr configuration issue

2019-10-25 Thread Shawn Heisey
On 10/25/2019 5:44 AM, Danilo Tomasoni wrote: Another question, is softCommit sufficient to ensure visibility or should I call a commit to ensure a new searcher will be opened? softCommit automatically opens a new searcher? There would be little point to doing a soft commit with openSearcher

Re: solr configuration issue

2019-10-25 Thread Danilo Tomasoni
Thank you all for your suggestions. Now I changed my import strategy to ensure that the same document will be updated eventually by different "batches", in this way I need a single programmatic softcommit at the end of each batch. Configuration-side I enabled autoCommit with opensearcher=f

Re: solr configuration issue

2019-10-24 Thread Erick Erickson
"For every document processed, a soft commit is performed to make the update visible to other concurrent update processes.” Please do not do this! First, Real Time Get will always return the current doc, whether you’ve opened a new reader or not. Second, this is an anti-pattern. I agree with Pa

Re: solr configuration issue

2019-10-24 Thread Shawn Heisey
On 10/24/2019 1:52 AM, Danilo Tomasoni wrote: For every document processed, a soft commit is performed to make the update visible to other concurrent update processes. This is not the way to do things. Doing a commit after every document means that Solr will spend more time doing commits than

Re: solr configuration issue

2019-10-24 Thread Paras Lehana
Hi Danilo, We have a solr 7.3.1 instance with around 40 MLN documents in it. I guess you are hard committing after few of millions of docs are indexed, right? I suggest you not to fully avoid hard committing. Set *autoCommit* (not autoSoftCommit) at around half a million of documents (that's fro

RE: Solr configuration issue for sorting on title field

2010-01-25 Thread EL KASMI Hicham
igine- De : Erick Erickson [mailto:erickerick...@gmail.com] Envoyé : lundi 25 janvier 2010 16:43 À : solr-user@lucene.apache.org Objet : Re: Solr configuration issue for sorting on title field Well, stop doing that The error message is a bit misleading, and was probably in response to the

Re: Solr configuration issue for sorting on title field

2010-01-25 Thread Erick Erickson
=== > > > -Message d'origine- > De : Erik Hatcher [mailto:erik.hatc...@gmail.com] > Envoyé : lundi 25 janvier 2010 15:03 > À : solr-user@lucene.apache.org > Objet : Re: Solr configuration issue for sorting on title field > > Are you

RE: Solr configuration issue for sorting on title field

2010-01-25 Thread EL KASMI Hicham
ailto:erik.hatc...@gmail.com] Envoyé : lundi 25 janvier 2010 15:03 À : solr-user@lucene.apache.org Objet : Re: Solr configuration issue for sorting on title field Are you sending in more than one title per document, by chance? Have you changed your configuration without reindexing the entire colle

Re: Solr configuration issue for sorting on title field

2010-01-25 Thread Erik Hatcher
c [mailto:otis_gospodne...@yahoo.com] Envoyé : vendredi 22 janvier 2010 6:17 À : solr-user@lucene.apache.org Objet : Re: Solr configuration issue for sorting on title field Hi, Long message. I skimmed through your configs. It looks like your main question is how can changing the field type (or

RE: Solr configuration issue for sorting on title field

2010-01-25 Thread EL KASMI Hicham
hoo.com] Envoyé : vendredi 22 janvier 2010 6:17 À : solr-user@lucene.apache.org Objet : Re: Solr configuration issue for sorting on title field Hi, Long message. I skimmed through your configs. It looks like your main question is how can changing the field type (or, really, turning off

Re: Solr configuration issue for sorting on title field

2010-01-21 Thread Otis Gospodnetic
Hi, Long message. I skimmed through your configs. It looks like your main question is how can changing the field type (or, really, turning off "multiValued" on a field cause the number of document in your index to decrease, right? Well, it can't or shouldn't. I am guessing you simply did s