Re: Solr edismax parser with multi-word synonyms

2019-07-17 Thread kshitij tyagi
Hi sunil, 1. as you have added "microwave food" in synonym as a multiword synonym to "frozen dinner", edismax parsers finds your synonym in the file and is considering your query as a Phrase query. This is the reason you are seeing parsed query as +(((+title:microwave +title:food) (+title:frozen

Solr edismax parser with multi-word synonyms

2019-07-17 Thread Sunil Srinivasan
I have enabled the SynonymGraphFilter in my field configuration in order to support multi-word synonyms (I am using Solr 7.6). Here is my field configuration: And this is my synonyms.txt file: frozen dinner,microwave food Scenario 1: blue shirt (qu

Transient core auto commit failure

2019-07-17 Thread Hari Iyer
Hi, I am running solr 7.5.0 with a transient cache size of 20. I am bulk indexing multiple cores. I have auto commit setup and I see a few of these errors while indexing: auto commit error...:org.apache.solr.common.SolrException: openNewSearcher called on closed core I see log messages about c

getFields function in org.apache.lucene.document.Document class does not handle dynamic fields

2019-07-17 Thread Arnold Bronley
Following is the definition of the getFields function in org.apache.lucene.document.Document class. As you can see, it can't handle the dynamic fields because dynamic fields have pattern like field_name_*, so the equals condition won't match in following function. Shouldn't we use matches function

memory leak?

2019-07-17 Thread Oakley, Craig (NIH/NLM/NCBI) [C]
I am having problems with a SolrCloud where both nodes become unresponsive. I am wondering whether there is some sort of memory leak. Attached is a portion of the solr_gc.log from around the time that the problem starts. Have you any suggestions how to diagnose and address this issue? Thanks 20

Using scores in Analytics component

2019-07-17 Thread Géraud Dugé de Bernonville
Hi, I'm using Analytics component ( https://lucene.apache.org/solr/guide/7_7/analytics.html), and would like to apply some function to the score. Something like : curl -d 'q=title:*&rows=0&wt=json&fl=*,score& > analytics= > { > "expressions" : { > "max_score" : "max(score)" > } >

Parse multivalued field as list with custom function

2019-07-17 Thread Gregory.Guichard
Hello, I'm trying to parse multivalued field (i.e : [8, 6, 9, 50]) as a List in a custom function. I looked all the existing parser here : (https://github.com/apache/lucene-solr/tree/master/solr/core/src/java/org/apache/solr/search), and I don't find any example of how to parse a multivalued

Re: Returning multiple fields in graph streaming expression response documents

2019-07-17 Thread Ahmed Adel
Hi, Thank you for your reply. Could you give more details on the „join“ operation, such as what the sides of the join and the joining condition would be in this case? Best regards, A. On Tue, Jul 16, 2019 at 2:02 PM markus kalkbrenner < markus.kalkbren...@biologis.com> wrote: > > > You have to