RE: tlog/commit questions

2019-07-03 Thread Avi Steiner
Thanks for your reply, Erick. 1. Unfortunately, we got those incidents after a long time, and relevant log files have been already rolled, so I couldn't find commit failure messages, but since I found OOM messages in other logs, I can guess it was the root cause. 2. Just to be sure I'm right,

Re: Faceting with Stats

2019-07-03 Thread Ahmed Adel
Hi, As per the documentation recommendation of using pivot with stats component instead ( https://lucene.apache.org/solr/guide/8_1/faceting.html#combining-stats-component-with-pivots), replacing the stats options that were previously used with the newer pivot options as follows: q: * stats=true

Re: Release of Solr 8.1.2 bug fix

2019-07-03 Thread Zheng Lin Edwin Yeo
Hi Jason, Ok understand. Thanks for the info. Regards, Edwin On Thu, 4 Jul 2019 at 03:13, Jason Gerlowski wrote: > Hi Edwin, > > Solr releases can be a messy process. They're subject to a lot of > unforeseen issues that can drag the process out: test failures > springing up at the last

Re: Sort on PointFieldType

2019-07-03 Thread Mark Sholund
My thought is that “greater than” and “less than” are generally undefined for n-dimensional points where n>1. Is (45,45) > (-45,-45)? If you’re talking about distance from (0,0) they’re “equal”. If you’re talking about distance from some arbitrary point then they are not necessarily “equal”;

Re: Release of Solr 8.1.2 bug fix

2019-07-03 Thread Jason Gerlowski
Hi Edwin, Solr releases can be a messy process. They're subject to a lot of unforeseen issues that can drag the process out: test failures springing up at the last minute, other committers asking to squeeze in last minute fixes, infrastructure problems cropping up unexpectedly, etc. So

Sort on PointFieldType

2019-07-03 Thread Prince Manohar
Hi, I have a *field* that is of *PointType *and I tried to sort on that field. But looks like sorting does not work on PointType. Or am I doing something wrong? Find my query below:- http://localhost:8983/solr/testcollection/select?indent=on=*:*=abc.pqr_d DESC=json

org.apache.solr.search.SyntaxError with Join and Tag

2019-07-03 Thread Mikhail Ibraheem
Hi,This query :{!tag=_Customer_facet}{!join fromIndex=sf-details toIndex=Downloads from=_CUSTOMER_facet to=_Customer_facet}_ACTIVITY_facet:("Welcome") gives exception org.apache.solr.search.SyntaxError: Cannot parse '_ACTIVITY_facet:((\"Welcome\"': Encountered \"\" at line 1, column 27 While

Solr query with best match returning high score

2019-07-03 Thread mganeshs
Hello Experts, I have a following query product:TV or os:Android or size:(55 60 65) or brand:samsung or issmart:yes or ram:[4 TO *] or rate:[10 TO *] or bezel : no or sound:dolby In Total there are 9 conditions. Now I need the document with best match should return top. Best match I mean

Re: tlog/commit questions

2019-07-03 Thread Erick Erickson
Let’s take this a piece at a time. 1. commit failures are very rare, in fact the only time I’ve seen them is when running out of disk space, OOMs, pulling the plug, etc. Look in your log files, is there any evidence of same? 2. OOM messages. To support Real Time Get, internal structures are

Re: SolrCloud indexing triggers merges and timeouts

2019-07-03 Thread Erick Erickson
Two more tidbits to add to Shawn’s explanation: There are heuristics built in to ConcurrentMergeScheduler. From the Javadocs: * If it's an SSD, * {@code maxThreadCount} is set to {@code max(1, min(4, cpuCoreCount/2))}, * otherwise 1. Note that detection only currently works on * Linux; other

Re: SolrCloud indexing triggers merges and timeouts

2019-07-03 Thread Shawn Heisey
On 7/2/2019 10:53 PM, Rahul Goswami wrote: Hi Shawn, Thank you for the detailed suggestions. Although, I would like to understand the maxMergeCount and maxThreadCount params better. The documentation

Nested document using ContentStreamUpdateRequest

2019-07-03 Thread Sreejith Variyath
Hi, I am tying to achieve below document nested structure in solr using ContentStreamUpdateRequest. Its represent a document and its metadata. { "id": "1235", "title": "test", "sourcemetadata": [{ "id": "455" }, { "size": "455" }], "content": "this is the

tlog/commit questions

2019-07-03 Thread Avi Steiner
Hi We had some cases with customers (Solr 5.3.1, one search node, one shard) with huge tlog files (more than 1 GB). Our settings: 1 3 false

Re: query optimization

2019-07-03 Thread Midas A
Please suggest here On Wed, Jul 3, 2019 at 10:23 AM Midas A wrote: > Hi, > > How can i optimize following query it is taking time > > webapp=/solr path=/search params={ >

Release of Solr 8.1.2 bug fix

2019-07-03 Thread Zheng Lin Edwin Yeo
Hi, I understand that currently there is plan for a Solr 8.1.2 bug fix release to resolve some of the bugs, like the SOLR-13510 basic authentication issue. Would like to check, what is the timeline like for the release? Regards, Edwin