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

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
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
cene - Nutch - Original Message > From: EL KASMI Hicham > 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 i

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 : Need help : Solr configuration issue for sortin g on title field

2010-01-20 Thread EL KASMI Hicham
u. 21/01/2010 0:12 À: 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: : References: : <359a92831001191640v7c063e28y8b3376b7

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: : References: : <359a92831001191640v7c063e28y8b3376b71ec3d...@mail.gmail.com> : : <359a92831001200903p73d89754t4ff15140b7ef7...@mail.gmail.com> : http://people.apache.

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 l