NPE on exceeding timeAllowed on SOLR-8.1.1

2019-12-03 Thread Vishal Patel
2019-08-12 10:21:43.379 ERROR (qtp140224-268) [c:repository s:shard2 r:core_node7 x:repository_shard2_replica_n4] o.a.s.h.RequestHandlerBase ja va.lang.NullPointerException at org.apache.solr.handler.component.QueryComponent.mergeIds(QueryComponent.java:892) at org.apache.sol

Re: hi question about solr

2019-12-03 Thread Paras Lehana
That's not my question. It's a suggestion. I was asking if Highlighting could fulfill your requirement? On Tue, 3 Dec 2019 at 17:31, Bernd Fehling wrote: > No, I don't use any highlighting. > > Am 03.12.19 um 12:28 schrieb Paras Lehana: > > Hi Bernd, > > > > Have you gone through Highlighting >

Re: Is it possible to have different Stop words depending on the value of a field?

2019-12-03 Thread Paras Lehana
Hi Yeikel, I want to stress on three things: 1. If you know the probable words which can be written in different ways (like street), you can use Synonyms. 2. The longer queries can have different mm's. The mm parameter supports different values for different word lengths. We generall

[ANNOUNCE] Apache Solr 8.3.1 released

2019-12-03 Thread Ishan Chattopadhyaya
## 3 December 2019, Apache Solr™ 8.3.1 available The Lucene PMC is pleased to announce the release of Apache Solr 8.3.1. Solr is the popular, blazing fast, open source NoSQL search platform from the Apache Lucene project. Its major features include powerful full-text search, hit highlighting, fac

Excluding a block join filter query during faceting

2019-12-03 Thread Srijan
I was wondering if anyone has encountered this problem. I have a parent block join query to return parent documents when child documents are matched. Eg: q= &fq={!parent which="my_doc_type:Parent"}child_doc_some_field:("30") I now want to facet on certain parent field but want to exclude the abov

Re: Search Performance and omitNorms

2019-12-03 Thread Erick Erickson
I suspect this is spurious. Norms are just an encoding of the length of a field, offhand I have no clue how having them (or not) would affect highlighting at all. Term _vectors_ OTOH could have a major impact. If FastVectorHighlighter is not used, the highlighter has to re-analyze the text in ord

Search Performance and omitNorms

2019-12-03 Thread Odysci
I'm using solr-8.3.1 on a solrcloud set up with 2 solr nodes and 2 ZK nodes. I was experiencing very slow search-with-highlighting on a index that had 'omitNorms="true"' on all fields. At the suggestion of a stackoverflow post, I changed all fields to be 'omitNorms="false"' and the search-with-high

System.Net.Sockets.SocketException

2019-12-03 Thread neerku
Hi All, I'm receiving this error frequently on my solr while indexing. "$type": "System.Web.Http.HttpError, System.Web.Http", "Message": "An error has occurred.", "ExceptionMessage": "A connection attempt failed because the connected party did not properly respond after a

Re: solr 8.3 indexing wrong values in some fields

2019-12-03 Thread Odysci
Hi Colvin, I updated my setup to 8.3.1-RC2 and so far it seems to work. I've converted my 7.7 index again and indexed a whole bunch of new doc and haven't detected any memory corruption. Thanks a lot! On Mon, Dec 2, 2019 at 6:40 AM Colvin Cowie wrote: > This sounds like https://issues.apache.or

Re: Want to upgrade Solr 5.2.1 to 7.7.2

2019-12-03 Thread Erick Erickson
Lucene has never promised that it will work correctly over _two_ major versions. IndexUpgraderTool simply optimizes into a single segment, which has it’s own problems (https://lucidworks.com/post/segment-merging-deleted-documents-optimize-may-bad/). It does _not_ transform the index to look lik

Re: How to add a new field to already an existing index in Solr 6.6 ?

2019-12-03 Thread Erick Erickson
Update your schema to include the new field and reload your collection. Then updating your field should work. Best, Erick > On Dec 3, 2019, at 4:40 AM, Vignan Malyala wrote: > > How to add a new field to already an existing index in Solr 6.6 ? > > I tried to use set for this, but it shows err

Query Containing Multiple Parsers

2019-12-03 Thread Nussbaum, Ronen
Hello All, We have an application that translates user queries to Solr syntax (Lucene query parser) by using ANTLR. Lately, we wanted to add support for the user to search term(s) that appear in the beginning of the text. >From answers to similar questions, I understood that SpanFirst might be a

Re: [Q] Faster Atomic Updates - use docValues?

2019-12-03 Thread Erick Erickson
Do you have empirical evidence that all these parameter changes are doing you any good? The first thing I note is that 8G for a 250M document index is a red flag. If you’re running on a larger machine, I’d increase that to 16G as a test. I’ve seen GC start to take up more and more CPU as you ge

Re: hi question about solr

2019-12-03 Thread Bernd Fehling
No, I don't use any highlighting. Am 03.12.19 um 12:28 schrieb Paras Lehana: > Hi Bernd, > > Have you gone through Highlighting > ? > > On Mon, 2 Dec 2019 at 17:00, eli chen wrote: > >> yes >> >> On Mon, 2 Dec 2019 at 13:29, Bernd Feh

Re: Exact match

2019-12-03 Thread Paras Lehana
Hi Omer, If you mean exact match with same number of words (Emir's), you can also add an identifier in the beginning and end of the some other field like title_exact. This can be done in your indexing script or using Pattern Replace. During query side, you can use this identifier. For example, ind

Re: hi question about solr

2019-12-03 Thread Paras Lehana
Hi Bernd, Have you gone through Highlighting ? On Mon, 2 Dec 2019 at 17:00, eli chen wrote: > yes > > On Mon, 2 Dec 2019 at 13:29, Bernd Fehling > > wrote: > > > In short, > > > > you are trying to use an indexer as a full-text search

[Q] Faster Atomic Updates - use docValues?

2019-12-03 Thread Paras Lehana
Hi Community, We occasionally reindex whole data to our Auto-Suggest corpus. Total documents to be indexed are around 250 million while, due to atomic updates, total unique documents after full indexing converges to 60 million. We have to atomically index documents to store different names for th

How to add a new field to already an existing index in Solr 6.6 ?

2019-12-03 Thread Vignan Malyala
How to add a new field to already an existing index in Solr 6.6 ? I tried to use set for this, but it shows error as undefined field. But however I could create a new index with set. But, how to add new filed to already indexed data? Is it possible? Thank you! Regards, Sai

Want to upgrade Solr 5.2.1 to 7.7.2

2019-12-03 Thread Yogesh Chaudhari
Hi All, Since 2015 we are using Solr cloud for search. We are using Solr 5.2.1 now we want to upgrade Solr 5.2.1 to Solr 7.7.2. Along with Solr we are using Zookeeper 3.4.6 and wanted to upgrade it to Zookeeper 3.4.10. We have huge data stored in existing Solr and need to maintained while mig

Re: How to control the number of grouped results [DRUPAL]

2019-12-03 Thread Christian Spitzlay
Hi alee2, judging from the first screenshot I think you are not on the Solr level at all but on the level of a "Views" integration of a "SearchAPI"-based search (which happens to be a Solr search in your setup). I suggest you ask that question on https://drupalchat.me/ in the #drupal-support cha