Re: Partial update error for missing _root_ after updating to Solr 8.8.2

2021-06-09 Thread Andreas Hubold
The error seems to happens for every kind of partial update / atomic update when the _root_ field was added to the schema of an existing index. This means, Solr 8.8.2 now requires a full reindex when one adds the _root_ field to the schema of an existing index. Previously (Solr 8.6.3) this wasn't

Re: issue in solr

2021-06-09 Thread Alessandro Benedetti
The log is your friend here :) I strongly recommend to take a look there: - an unsupported boolean query (sd) - an undefined field - some missing file in the config Probably there's much more in the logs. Explore it, identify all the problems, understand them by researching documentation/sou

Re: Help with SOLR and Liferay

2021-06-09 Thread Alessandro Benedetti
It seems Liferay uses Apache Solr to look for users, that query is incorrect though : *+((+entryClassName:com.liferay.portal.kernel.model.User +status:5)) *-> this clause is valid, redundant mandatory wrapping clause, but it should work fine and it means results must contain "5 in status", and "c

[Solr][Issue] Cannot highlight field with whitespace

2021-06-09 Thread Benjamin COVEN
Hello ! I am sending this email before opening a Jira issue because I have an issue with Solr: I would like to do highlighting on fields that contain whitespaces. I tried to send the field name between quotes or escape the whitespace without success, I always receive 400 error telling me the f

Re: [Solr][Issue] Cannot highlight field with whitespace

2021-06-09 Thread Jan Høydahl
Space in field names is a very bad idea. Please stick to only normal characters and "." or "-" or "_" as delimiters to be on the safe side. Jan > 9. jun. 2021 kl. 13:59 skrev Benjamin COVEN : > > Hello ! > > I am sending this email before opening a Jira issue because I have an issue > with So

Sorting is working in primitive multivalued fields without docValues

2021-06-09 Thread Mónica Marrero
Hi, I am using Solr 7.7 in Cloud, and I had understood from the documentation that sorting is not possible in multivalued fields when docValues is not activated. To my surprise I am able to directly sort (e.g. sort=CREATOR asc) using the two fields below (I also copy the definition of the field ty

Re: Sorting is working in primitive multivalued fields without docValues

2021-06-09 Thread Alexandre Rafalovitch
I am pretty sure your reality is correct and your document reading (or document itself) is less than perfect. docValues are strongly recommended if you are going to do a lot of sorting. But the ability to sort existed before docValues were created. Can you send the specific (version-specific ideal

Invalid query error when using rq param with a shards query

2021-06-09 Thread gnandre
Hi, I am using Solr 8.5.2 with the LTR feature enabled. I have successfully uploaded a trained model to Solr. When I add rq={!ltr model=model efi.query=$q reRankDocs=100} param to my regular search query, it works. But when I pass a shards param with a list of shards then I run into the following

Re: Sorting is working in primitive multivalued fields without docValues

2021-06-09 Thread Alessandro Benedetti
>From the wiki: The value of any primitive field (numerics, string, boolean, dates, etc.) > which has docValues="true" (or multiValued="false" and indexed="true", in > which case the indexed terms will used to build DocValue like structures on > the fly at runtime) I think the documentation is i

Re: Invalid query error when using rq param with a shards query

2021-06-09 Thread gnandre
Please ignore, this was an issue with the incorrect values I was passing to shards param. On Wed, Jun 9, 2021 at 12:52 PM gnandre wrote: > Hi, > > I am using Solr 8.5.2 with the LTR feature enabled. I have successfully > uploaded a trained model to Solr. When I add rq={!ltr model=model > efi.que