Re: 7.2.1 Solr collection sluggish

2018-08-15 Thread Shawn Heisey
On 8/8/2018 7:26 AM, Markus Jelsma wrote: > We also took a good look at our monitoring, JVM heap was normal, IO was > normal, CPU was normal until the first restart. CPU usage is since the first > restart erratic but not worryingly off the charts, just not 'normal' as usual. I've seen systems

Re: Multi-word Synonyms - how does sow parameter work?

2018-08-15 Thread Roy Lim
I am not using edismax (eventually I would like to get there) but I'm just testing with standard query right now. Original posting: I'm trying to figure out why the multi-word synonym expansion is not working correctly (or, at least what I'm misunderstanding). Specifically, when I test a

Re: Multi-word Synonyms - how does sow parameter work?

2018-08-15 Thread Doug Turnbull
Also share your fieldType settings for myfield as well from your schema On Wed, Aug 15, 2018 at 8:00 PM Doug Turnbull < dturnb...@opensourceconnections.com> wrote: > Aside from the screenshot issue, one thing to check: are you searching > with defType=edismax ? > > As in >

Re: Multi-word Synonyms - how does sow parameter work?

2018-08-15 Thread Doug Turnbull
Aside from the screenshot issue, one thing to check: are you searching with defType=edismax ? As in q=lcd=myfield=false=edismax ? Also sow=false should the the default on Solr 7 and above Doug On Wed, Aug 15, 2018 at 6:27 PM Roy Lim wrote: > I'm trying to figure out why the multi-word

Re: Multi-word Synonyms - how does sow parameter work?

2018-08-15 Thread Steve Rowe
Yes please. That way we’ll see the whole thing. -- Steve www.lucidworks.com > On Aug 15, 2018, at 7:20 PM, Roy Lim wrote: > > I've subscribed, shall I re-post it then via email? > > > > -- > Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Multi-word Synonyms - how does sow parameter work?

2018-08-15 Thread Roy Lim
I've subscribed, shall I re-post it then via email? -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

RE: Type ahead functionality using complex phrase query parser

2018-08-15 Thread Hanjan, Harinder
Keeping the field as string so that no analysis is done on it has yielded promising results. I will test more tomorrow and report back. -Original Message- From: Hanjan, Harinder [mailto:harinder.han...@calgary.ca] Sent: Wednesday, August 15, 2018 5:01 PM To:

Re: Multi-word Synonyms - how does sow parameter work?

2018-08-15 Thread Steve Rowe
Roy, Not sure of the point of Nabble when it strips content before passing messages on to the mailing list. I’ve emailed them about this problem in the past but they have done nothing about it. Updating a post on Nabble will never make it to the mailing list. If you want us to be able to

Type ahead functionality using complex phrase query parser

2018-08-15 Thread Hanjan, Harinder
Hello! I can't get Solr to give the results I would expect, would appreciate if someone could point me in the right direction here. /select?q={!complexphrase}"gar*" shows me the following terms -garages -garburator -gardening -gardens -garage -

Re: Multi-word Synonyms - how does sow parameter work?

2018-08-15 Thread Roy Lim
Thanks, updated original post. It just removed what I surrounded with the raw text markup, I've added it back without markup. Not sure of the point of raw text if it's always removed -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Multi-word Synonyms - how does sow parameter work?

2018-08-15 Thread Erick Erickson
The mail server strips pretty much all screenshots and attachments, so I think some of the data you're trying to provide is missing from the e-mail. Best, Erick On Wed, Aug 15, 2018 at 3:27 PM, Roy Lim wrote: > I'm trying to figure out why the multi-word synonym expansion is not working >

Multi-word Synonyms - how does sow parameter work?

2018-08-15 Thread Roy Lim
I'm trying to figure out why the multi-word synonym expansion is not working correctly. Specifically, when I test a standard query with Solr Admin it is still splitting on whitespace. Here is my setup: - Solr 7.2.1 - synonym LCD => liquid crystal display - q=myfield:LCD - added: sow=false -

Re: Authentication between solr-exporter and solrcloud

2018-08-15 Thread Dwane Hall
Hi Sushant, I had the same issue and unfortunately the exporter does not appear to support a secure cluster. I raised a JIRA feature request so please upvote it as this will increase the chances of it being included in a future release.

Re: [OT] Lucene/Solr bug list caused by JVM's implementations

2018-08-15 Thread Erick Erickson
Christopher The Lucene devs in particular already are, thanks. On Wed, Aug 15, 2018 at 11:29 AM, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Erick, > > On 8/15/18 12:56 PM, Erick Erickson wrote: >> Also note that the OpenJDK devs regularly get to test very

Re: Is Running the Same Filters on Index and Query Redundant?

2018-08-15 Thread Erick Erickson
Thomas: If you go to the admin UI, pick a collection (or core) and go to the "analysis" page. Put different values in the "index" and "query" entry boxes. Sometimes a picture is worth a thousand words ;). And, indeed, synonyms are one of the prime filters that are often different between the

Re: Is Running the Same Filters on Index and Query Redundant?

2018-08-15 Thread Andrea Gazzarini
You're welcome, great to hear you have less doubts. I see you're using the SynonymGraphFilter followed by a StopFilter at query time: have a look at this post [1], you might find some useful info. Best, Andrea [1] https://sease.io/2018/07/combining-synonyms-and-stopwords.html On 15/08/18

Re: Is Running the Same Filters on Index and Query Redundant?

2018-08-15 Thread Zimmermann, Thomas
Hi Andrea, Thanks so much. I wasn¹t thinking in the correct perspective on the query portion of the analyzer, but your explanation makes perfect sense. In my head I imagine the result set of the query being transformed by the filters, but in actuality the filter is being applied to the query

Re: Is Running the Same Filters on Index and Query Redundant?

2018-08-15 Thread Andrea Gazzarini
Hi Thomas, as you know, the two analyzers play in a different moment, with a different input and a different goal for the corresponding output: * index analyzer: input is a field value, output is used for building the index * query analyzer: input is a (user) query string, output is used

Is Running the Same Filters on Index and Query Redundant?

2018-08-15 Thread Zimmermann, Thomas
Hi, We have the text field below configured on fields that are both stored and indexed. It seems to me that applying the same filters on both index and query would be redundant, and perhaps a waste of processing on the retrieval side if the filter work was already done on the index side. Is

Re: [OT] Lucene/Solr bug list caused by JVM's implementations

2018-08-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Erick, On 8/15/18 12:56 PM, Erick Erickson wrote: > Also note that the OpenJDK devs regularly get to test very early > (unreleased) Java versions, which flushes out a lot of issues long > before a general release of Java We (dev@tomcat) get

Re: Lucene/Solr bug list caused by JVM's implementations

2018-08-15 Thread Erick Erickson
Also note that the OpenJDK devs regularly get to test very early (unreleased) Java versions, which flushes out a lot of issues long before a general release of Java On Wed, Aug 15, 2018 at 5:25 AM, Shawn Heisey wrote: > On 8/14/2018 8:07 PM, Yasufumi Mizoguchi wrote: >> >> I am looking for

Solr changing the search when given many qf fields?

2018-08-15 Thread Aaron Gibbons
I found a tipping point where the search being built changes with the number of qf fields being passed in. Example search: "foo bar" solr 7.2.1 select?q.op=AND=edismax=foo bar Debugging the query you can see it results in: "parsedquery_toString":"+(+(text:foo) +(text:bar))" Adding more qf

Authentication between solr-exporter and solrcloud

2018-08-15 Thread Sushant Vengurlekar
I have followed this guide for monitoring the solrcloud https://lucene.apache.org/solr/guide/7_3/monitoring-solr-with-prometheus-and-grafana.html I have basic authentication enabled for the solrcloud. How do I configure the solr-exporter to authenticate with the set username and password. Thank

Re: collections replicas still in Recovery Mode after restarting Solr

2018-08-15 Thread Shawn Heisey
On 8/15/2018 1:26 AM, Derek Poh wrote: We have a setup of 2 servers, running Solr 6.6.2, on production. There are 5 collections. All collection are created as 1 shard x 2 replicas. 4 of the collections have this issue. A replica of each of this 4 collections is in Recovery Mode. The affected

Re: Lucene/Solr bug list caused by JVM's implementations

2018-08-15 Thread Shawn Heisey
On 8/14/2018 8:07 PM, Yasufumi Mizoguchi wrote: I am looking for Lucene/Solr's bug list caused by JVM's implementations. And I found the following, but it seems not to be updated. https://wiki.apache.org/lucene-java/JavaBugs Where can I check the latest one? That is the only such list that

collections replicas still in Recovery Mode after restarting Solr

2018-08-15 Thread Derek Poh
Hi We have a setup of 2 servers, running Solr 6.6.2, on production. There are 5 collections. All collection are created as 1 shard x 2 replicas. 4 of the collections have this issue. A replica of each of this 4 collections is in Recovery Mode. The affected replicas are on the same server or