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

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

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

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

solr configuration issue

2019-10-24 Thread Danilo Tomasoni
Hello all, we have a solr 7.3.1 instance with around 40 MLN documents in it. After the initial one-shot import, we found an issue in the import software, we updated it and re-run the import that will atomically update (with set) the existing documents. The import is divided into processes,

RE: Solr configuration issue for sorting on title field

2010-01-25 Thread EL KASMI Hicham
== -Message d'origine- De : Otis Gospodnetic [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

Re: Solr configuration issue for sorting on title field

2010-01-25 Thread Erik Hatcher
== -Message d'origine- De : Otis Gospodnetic [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

RE: Solr configuration issue for sorting on title field

2010-01-25 Thread EL KASMI Hicham
...@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 collection, possibly

Re: Solr configuration issue for sorting on title field

2010-01-25 Thread Erick Erickson
] 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 collection, possibly

RE: Solr configuration issue for sorting on title field

2010-01-25 Thread EL KASMI Hicham
- 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 G The error message is a bit misleading, and was probably in response to the more

Solr configuration issue for sorting on title field

2010-01-21 Thread EL KASMI Hicham
Hello again, We have a problem with sorting on title field in Solr instance of our production repository, we get the error message: HTTP Status 500 - there are more terms than documents in field titleStr, but it's impossible to sort on tokenized fields. After some googling and searching in

Re: Solr configuration issue for sorting on title field

2010-01-21 Thread Otis Gospodnetic
Message From: EL KASMI Hicham hicham.el.ka...@ulb.ac.be To: solr-user@lucene.apache.org Sent: Thu, January 21, 2010 5:14:22 AM Subject: Solr configuration issue for sorting on title field Hello again, We have a problem with sorting on title field in Solr instance of our production

Need help : Solr configuration issue for sorting on title field

2010-01-20 Thread EL KASMI Hicham
Hello, We have a problem with sorting on title field in Solr instance of our production repository, we get the error message: HTTP Status 500 - there are more terms than documents in field titleStr, but it's impossible to sort on tokenized fields. After some googling and searching in this

Re: Need help : Solr configuration issue for sorting on title field

2010-01-20 Thread Chris Hostetter
: Subject: Need help : Solr configuration issue for sorting on title field : In-Reply-To: e9c993f11001200946j73dada43v5b7c7769d9e76...@mail.gmail.com : References: e9c993f11001191448k683db9fbud56276361ae20...@mail.gmail.com : 359a92831001191640v7c063e28y8b3376b71ec3d...@mail.gmail.com

RE : Need help : Solr configuration issue for sortin g on title field

2010-01-20 Thread EL KASMI Hicham
: solr-user@lucene.apache.org Objet : Re: Need help : Solr configuration issue for sorting on title field : Subject: Need help : Solr configuration issue for sorting on title field : In-Reply-To: e9c993f11001200946j73dada43v5b7c7769d9e76...@mail.gmail.com : References