Re: Search for term except within phrase

2020-07-06 Thread Emir Arnautović
Hi Stavros, I didn’t check what’s supported in ComplexPhraseQueryParser but that is wrapper around span queries, so you should be able to do what you need: https://lucene.apache.org/solr/guide/7_6/other-parsers.html#complex-phrase-query-parser

SSL + Solr 8.5.1 in cloud mode + Java 8

2020-07-06 Thread Natarajan, Rajeswari
Hi, We are using Solr 8.5.1 in cloud mode with Java 8. We are enabling TLS with http1 (as we get a warning java 8 + solr 8.5 SSL can’t be enabled) and we get below exception 2020-07-07 03:58:53.078 ERROR (main) [ ] o.a.s.c.SolrCore null:org.apache.solr.common.SolrException: Error insta

Re: Tokenizing managed synonyms

2020-07-06 Thread Koji Sekiguchi
I think the question makes sense as SynonymGraphFilterFactory accepts tokenizerFactory, he asked the managed version of SynonymGraphFilter could accept it as well. https://lucene.apache.org/solr/guide/8_5/filter-descriptions.html#synonym-graph-filter The answer seems to be NO. Koji On 2020/0

Search for term except within phrase

2020-07-06 Thread Stavros Macrakis
(Sorry for sending this with the wrong subject earlier.) How can I search for a term except when it's part of certain phrases? For example, I might want to find documents mentioning "pepper" where it is not part of the phrases "chili pepper", "hot pepper", or "pepper sauce". It does not work to

Re: Tokenizing managed synonyms

2020-07-06 Thread Erick Erickson
This question doesn’t really make sense. You don’t specify tokenizers on filters, they’re specified at the _field_ level. You can certainly define as many field(type)s as you want, each with a different analysis chain and those chains can be made up of whatever you want to use, and there are lots

Re: Tokenizing managed synonyms

2020-07-06 Thread Erick Erickson
Please don’t hijack threads, start a new one when you switch topics. > On Jul 6, 2020, at 6:52 PM, Stavros Macrakis wrote: > > How can I search for a term *except *when it's part of certain phrases? > > For example, I might want to find documents mentioning "pepper" where it is > not part of th

Re: Tokenizing managed synonyms

2020-07-06 Thread Stavros Macrakis
How can I search for a term *except *when it's part of certain phrases? For example, I might want to find documents mentioning "pepper" where it is not part of the phrases "chili pepper", "hot pepper", or "pepper sauce". It does not work to search for [pepper NOT ("chili pepper" OR "hot pepper" O

Tokenizing managed synonyms

2020-07-06 Thread Thomas Corthals
Hi, Is it possible to specify a Tokenizer Factory on a Managed Synonym Graph Filter? I would like to use a Standard Tokenizer or Keyword Tokenizer on some fields. Best, Thomas

Re: Out of memory errors with Spatial indexing

2020-07-06 Thread David Smiley
I believe you are experiencing this bug: LUCENE-5056 The fix would probably be adjusting code in here org.apache.lucene.spatial.query.SpatialArgs#calcDistanceFromErrPct ~ David Smiley Apache Lucene/Solr Search Developer http://www.linkedin.com/in

Re: Null pointer exception in QueryComponent.MergeDds method

2020-07-06 Thread Mikhail Khludnev
Hi, What's the version? What's uniqueKey? is it stored? what's fl param? On Mon, Jul 6, 2020 at 5:12 PM Jae Joo wrote: > I am seeing the nullPointerException in the list below and I am > looking for how to fix the exception. > > Thanks, > > > NamedList sortFieldValues = > (NamedList)(srsp.getSol

Re: Performance in solr7.5

2020-07-06 Thread Sankar Panda
Hi Eric, Thanks for your mail. I am seeing that 91`% time cpu is idle. if you see below some of the stats ,still i am not able to visualize where it is wrong FilenameTypeSizeUsed Priority /mnt/resource/swapfile file2097148 1119

Null pointer exception in QueryComponent.MergeDds method

2020-07-06 Thread Jae Joo
I am seeing the nullPointerException in the list below and I am looking for how to fix the exception. Thanks, NamedList sortFieldValues = (NamedList)(srsp.getSolrResponse().getResponse().get("sort_values")); if (sortFieldValues.size()==0 && // we bypass merging this response only if it's partial

Replica goes into recovery mode in Solr 6.1.0

2020-07-06 Thread vishal patel
I am using Solr version 6.1.0, Java 8 version and G1GC on production. We have 2 shards and each shard has 1 replica. We have 3 collection. We do not use any cache and also disable in Solr config.xml. Search and Update requests are coming frequently in our live platform. *Our commit configuration

RE: Time-out errors while indexing (Solr 7.7.1)

2020-07-06 Thread Kommu, Vinodh K.
Thanks Eric & Toke for your response over this. Just wanted to correct few things here about number of docs: Total number of documents exists in the entire cluster (all collections) = 6393876826 (6.3B) Total number of documents exists on 2 bigger collections (3749389864 & 1780147848) = 5

Re: Java - setting multi-valued fields

2020-07-06 Thread kumar gaurav
If this approach did not work , that means there is something wrong in Solr schema . Can you share a field schema ? Regards Kumar Gaurav On Wed, Jun 24, 2020 at 2:29 PM Eivind Hodneland < eivind.hodnel...@uptimeconsulting.no> wrote: > Hi, > > Thanks for your input. > However, this approach di

Re: Out of memory errors with Spatial indexing

2020-07-06 Thread Sunil Varma
Hi David Thanks for your response. Yes, I noticed that all the data causing issue were at the poles. I tried the "RptWithGeometrySpatialField" field type definition but get a "Spatial context does not support S2 spatial index"error. Setting "spatialContextFactory="Geo3D" I still see the original OO

Re: Searching document content and mult-valued fields

2020-07-06 Thread Emir Arnautović
Hi Shaun, If project content is relatively static, you could use nested documents or you could plain with join query parser . HTH, Emir -- Mon

Re: Corrupted .cfs file

2020-07-06 Thread nettadalet
Sorry to reply just now, but you were right - the problem was that the disk got full. Thank you very much! -- Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Solr Float/Double multivalues fields

2020-07-06 Thread Vincenzo D'Amore
Thanks for sharing the post, finally I had the time to read it :) It is really illuminating On Fri, Jul 3, 2020 at 1:28 PM Toke Eskildsen wrote: > On Fri, 2020-07-03 at 10:00 +0200, Vincenzo D'Amore wrote: > > Hi Erick, not sure I got. > > Does this mean that the order of values within a multiva