Re: How to use stopwords, synonyms along with fuzzy match in a SOLR

2019-05-08 Thread Erick Erickson
Well, I’d start by adding debug=true, that’ll show you the parsed query as well as why certain documents scored the way they did. But do note that q=junk~ will search against the default text field (the ”df” parameter in the request handler definition in solrconfig.xml). Is that what you’re expe

Re: Modify partial configsets using API

2019-05-08 Thread Tulsi Das
That's right Mike. If same config set is used for multiple collection , changing any file in this would apply to other collections as well. On Wed, May 8, 2019 at 11:49 PM Mike Drob wrote: > > > On 2019/05/08 16:52:52, Shawn Heisey wrote: > > On 5/8/2019 10:50 AM, Mike Drob wrote: > > > Solr E

collection exists but delete by query fails

2019-05-08 Thread Aroop Ganguly
Hi I am on Solr 7.5 and I am issuing a delete-by-query using CloudSolrClient The collection exists but issuing a deletebyquery is failing every single time. I am wondering what is happening, and how to debug this. org.apache.solr.client.solrj.SolrServerException: java.lang.IndexOutOfBoundsExc

How to use stopwords, synonyms along with fuzzy match in a SOLR

2019-05-08 Thread bbarani
Hi, Is there a way to use stopwords and fuzzy match in a SOLR query? The below query matches 'jack' too and I added 'junk' to the stopwords (in query) to avoid returning results but looks like its not honoring the stopwords when using the fuzzy search. solr/collection1/select?app-qf=title_autoCo

How to use stopwords, synonyms along with fuzzy match in a SOLR

2019-05-08 Thread bbarani
Hi, Is there a way to use stopwords and fuzzy match in a SOLR query? The below query matches 'jack' too and I added 'junk' to the stopwords (in query) to avoid returning results but looks like its not honoring the stopwords when using the fuzzy search. solr/collection1/select?app-qf=title_autoCo

Re: Softer version of grouping and/or filter query

2019-05-08 Thread Emir Arnautović
Hi Doug, It seems to me that you’ve found a way to increase score for those that are within selected price range, but “A price higher than $150 should not increase the score”. I’ll just remind you that scores in Solr are relevant to query and that you cannot do much other than sorting on it so i

Softer version of grouping and/or filter query

2019-05-08 Thread Doug Reeder
We have a query to return products related to a given product. To give some variety to the results, we group by vendor: group=true&group.main=true&group.field=merchantId We need at least four results to display. Unfortunately, some categories don't have a lot of products, and grouping takes us (sa

Re: Load suggest dictionary from non-Zookeeper file?

2019-05-08 Thread Mikhail Khludnev
Right. On Wed, May 8, 2019 at 11:49 PM Shawn Heisey wrote: > On 5/8/2019 2:34 PM, Mikhail Khludnev wrote: > > It reminds me > https://lucene.apache.org/solr/guide/7_6/blob-store-api.html but > > I don't think it's already integrated with suggester. > > I'm having one of of those days where I can

Re: Load suggest dictionary from non-Zookeeper file?

2019-05-08 Thread Shawn Heisey
On 5/8/2019 2:34 PM, Mikhail Khludnev wrote: It reminds me https://lucene.apache.org/solr/guide/7_6/blob-store-api.html but I don't think it's already integrated with suggester. I'm having one of of those days where I can't seem to recall things easily. With the blob store, the blobs are in t

Re: Load suggest dictionary from non-Zookeeper file?

2019-05-08 Thread Mikhail Khludnev
It reminds me https://lucene.apache.org/solr/guide/7_6/blob-store-api.html but I don't think it's already integrated with suggester. On Wed, May 8, 2019 at 11:26 PM Shawn Heisey wrote: > On 5/8/2019 1:59 PM, Walter Underwood wrote: > > Our suggest dictionary is too big for Zookeeper. I’m trying

Re: Load suggest dictionary from non-Zookeeper file?

2019-05-08 Thread Walter Underwood
The file is 33 Megabytes, so I don’t think increasing jute.maxbuffer is a wise idea. The current documentation is not at all clear about how the dictionary file name is interpreted. I could see an absolute path being local and a relative path being relative to the ZK config folder. I wouldn’t m

Re: Load suggest dictionary from non-Zookeeper file?

2019-05-08 Thread Shawn Heisey
On 5/8/2019 1:59 PM, Walter Underwood wrote: Our suggest dictionary is too big for Zookeeper. I’m trying to load it from an absolute path, but the Solr 6.6.1 insists on interpreting that as a Zookeeper path. Any way to disable that? I wouldn't be surprised to learn it's not possible to get it

Load suggest dictionary from non-Zookeeper file?

2019-05-08 Thread Walter Underwood
Our suggest dictionary is too big for Zookeeper. I’m trying to load it from an absolute path, but the Solr 6.6.1 insists on interpreting that as a Zookeeper path. Any way to disable that? java.lang.IllegalArgumentException: Invalid path string "/configs/questions-suggest//solr/suggest-data/ques

Re: Error when merging segments ("terms out of order")

2019-05-08 Thread Yannick Alméras
Hello, I installed it with the openjdk-11-jdk package from Ubuntu 18.04 repository with apt-get... For the moment, no more problem with openjdk-8... I don't know the exact reason of problems with openjdk-11 32bit (?). I will go on a 64bit system when possible (server is installed as 32bit si

Re: Error when merging segments ("terms out of order")

2019-05-08 Thread Shawn Heisey
On 5/8/2019 10:47 AM, Alméras Yannick wrote: The problem of segments merging seems to be solved when I replace Java 11 32bit with Java 8 32bit on my prod Ubuntu server... (On my dev archlinux computer, no problem with Java 11 64bit...). It is strongly recommended to run a 64-bit version of Java

Re: Modify partial configsets using API

2019-05-08 Thread Mike Drob
On 2019/05/08 16:52:52, Shawn Heisey wrote: > On 5/8/2019 10:50 AM, Mike Drob wrote: > > Solr Experts, > > > > Is there an existing API to modify just part of my configset, for example > > synonyms or stopwords? I see that there is the schema API, but that is > > pretty specific in scope. > >

Re: Modify partial configsets using API

2019-05-08 Thread Shawn Heisey
On 5/8/2019 10:50 AM, Mike Drob wrote: Solr Experts, Is there an existing API to modify just part of my configset, for example synonyms or stopwords? I see that there is the schema API, but that is pretty specific in scope. Not sure if I should be looking at configset API to upload a zip with a

Modify partial configsets using API

2019-05-08 Thread Mike Drob
Solr Experts, Is there an existing API to modify just part of my configset, for example synonyms or stopwords? I see that there is the schema API, but that is pretty specific in scope. Not sure if I should be looking at configset API to upload a zip with a single file, or if there are more granul

Re: Error when merging segments ("terms out of order")

2019-05-08 Thread Alméras Yannick
Hello ! The problem of segments merging seems to be solved when I replace Java 11 32bit with Java 8 32bit on my prod Ubuntu server... (On my dev archlinux computer, no problem with Java 11 64bit...). Hope this will be the real solution... "I cross my fingers" (from french "je croise les doigts

Re: Error when merging segments ("terms out of order")

2019-05-08 Thread Alméras Yannick
Hello ! I'm going deeper into the mystery... There is something wrong in my configuration or with solr because segments merging never work as it should. Example (step by step) : * I clear my index. * I had entries one by one. No problem when looking at items ; all fields are ok -if no segmen

Re: Solr RuleBasedAuthorizationPlugin question

2019-05-08 Thread Jérémy
Hi Jason, Thanks for the your help again. Your suggestion for the core creation works well. I tried both workarounds for the admin UI but without any success. No worries I'll watch the issue and wait for its resolution. Thank you! Jeremy On Tue, May 7, 2019 at 6:08 PM Jason Gerlowski wrote: >