Possible bug report—ICU Tokenizer: letter-space-number-letter tokenized inconsistently

2021-01-22 Thread Trey Jones
Hi all.. Following the advice at https://issues.apache.org/jira I'm explaining my situation here before creating an issue. The short version is that the ICU tokenizer can split tokens differently after a space depending on what comes *before* the space. For example, *x 14th* is tokenized as x |

Re: Exact and non exact highlighting

2021-01-22 Thread David Smiley
I'm very familiar with using the Unifier Highligher on a project with this requirement. The main "trick" we used was using only one field but analyzing both ways with a term differentiator (e.g. a leading symbol), and then coupled with a custom query parser that knows a phrase query is to be

Exact and non exact highlighting

2021-01-22 Thread df2832368_...@amberoad.de df2832368_...@amberoad.de
Hello folks, I am currently working on an issue where we need to enable exact highlighting on a text field. Only problem is that it should also be possible to have also parts of the query which don't need to be exact.(e.g. "Hello World" Test, so "Hello World" needs to be an exact match, but

RE: Getting Solr's statistic using SolrJ

2021-01-22 Thread Gael Jourdan-Weil
Hello Steven, I believe what you are looking for cannot be accessed using SolrJ (I didn't really check though). But you can easily access it either via the Collections APIs and/or the Metrics API depending on what you need exactly. See

Re: SOLR 8.6 Synonyms search and out of context results

2021-01-22 Thread Colvin Cowie
Hello, Do you mean that you want searches for "gain" to match documents with "revenue" on them, but do *not* want searches for "revenue" to match documents with "gain" on them? If that's what you mean, how have you defined your synonyms? If you're using the SynonymGraphFilterFactory

Getting Solr's statistic using SolrJ

2021-01-22 Thread Steven White
Hi everyone, Is there a SolrJ API that I can use to collect statistics data about Solr (everything that I see on the dashboard if possible)? I am in need to collect data about Solr instances, those same data that I see on the dashboard such as swap-memory, jvm-memory, list of cores, info about

Change uniqueKey using SolrJ

2021-01-22 Thread Timo Grün
Hi All, I’m currently trying to change the uniqueKey of my Solr Cloud schema using Solrj. While creating new Fields and FieldDefinitions is pretty straight forward, I struggle to find any solution to change the Unique Key field with Solrj. Any advice here? Best Regards, Timo Gruen

SOLR 8.6 Synonyms search and out of context results

2021-01-22 Thread Iram Tariq
Hi All, Using SOLR default Synonyms search I am able to search Synonyms but for some cases it is giving ambiguous results. For example one of Synonyms of "Revenue" is "Gain" Input Keyword for search: Revenue and Company Irrelevant Output: Our company doesn't want to gain success through

Re: "timeAllowed" param with "numFound" having a count value but doc list is empty

2021-01-22 Thread Aleksandr Yaroslavskiy
Hi, I am using timeAllowed and a collection with shards. Docs list contains results only if QTime(query time) < timeAllowed. In other cases (partialResults=true in responseHeader) docs are empty. /solr/collection_with_shards/select?etimeAllowed=1000=some_slow_query docs is empty If access a

Re: leader election stuck after hosts restarts

2021-01-22 Thread Pierre Salagnac
Thanks Alessandro. We found this Jira ticket that may be the root cause of this issue: https://issues.apache.org/jira/browse/SOLR-14356 I'm not sure whether it is the reason of the leader election initially failing, but it prevents Solr from exiting this error loop. Le mer. 13 janv. 2021 à

Re: Queries Regarding Cold searcher

2021-01-22 Thread Shawn Heisey
On 1/21/2021 3:42 AM, Parshant Kumar wrote: Do value(true or false) of cold searcher play any role during the completion of replication on slave server.If not please tell in which process in solr its applied? The setting to use a cold searcher applies whenever a new searcher is opened. It