Re: Solr JVM Memory settings

2018-10-15 Thread Hendrik Haddorp
I wasn't stating that Docker is the solution at all. I was also stating that the native memory would go down if you limit the heap. I'm running Solr in Docker with a memory limit and thus have to make sure that the memory is limited as otherwise Linux kills the JVM. For that I'm limiting the hea

SQL Query with NOT (V 7.2.1)

2018-10-15 Thread deniz
I have been trying to get sql queries running, but having trouble while dealing with the NOT queries. Basically, the code looks like below SolrQuery sqlQuery = new SolrQuery(); sqlQuery.setRequestHandler("/sql"); sqlQuery.set("stmt","select collection1.id as collection_1_id, collection1.email as

LTR feature extraction

2018-10-15 Thread Midas A
Hi , i am new to LTR solr and i have following queries regarding same . How i can write feaqture for follwing in solr a) Covered_query_term_number: i.e. if search query has n terms and document cover 2 term then Covered_query_term_number is two. b) number of carts for this query-document pair

Dockerized Solr service stops responding

2018-10-15 Thread Christian Spitzlay
Hi, we are running Solr Cloud with a single instance of zookeeper and solr in a docker setup. We are experiencing occasional hangs where the solr service stops responding: clients time out but the docker containers are still reported as healthy by the rancher administration UI. "docker exec" ca

Re: SolrJ does not use HTTP proxy anymore in 7.5.0 after update from 6.6.5

2018-10-15 Thread Andreas Hubold
Hi Michael, sure. The important call is HttpClientBuilder#useSystemProperties which is also what Shawn added in his patch to https://issues.apache.org/jira/browse/SOLR-12848 For my workaround, I've just followed the code from method org.apache.solr.client.solrj.impl.HttpClientUtil#createClie

Re: Solr Stream vs Export Request Handlers

2018-10-15 Thread Kamal Kishore Aggarwal
Hi, After I performed the test on my data, I found out that direct /export and streaming expression with export, both are giving almost same response time. This was also pointed out by *Jan Høydahl* in his reply. Also, the documentation says export feature uses stream sorting technique and stream

Solr performing Calculations vs. Pulling data Values Directly From DB Question

2018-10-15 Thread Joseph Costello - F&D Reports
My question is regarding using Solr for doing fast geospatial calculations against multiple locations. For example we have a product that takes 2 to 10 companies at a time (i.e. McDonalds 14,000 Subway 20,000, Duncan Donuts 5000), and identifies and maps any store overlap based on a range betw

Solr compatible fields

2018-10-15 Thread Christoph
Under http://lucene.apache.org/solr/guide/6_6/other-parsers.html#OtherParsers-JoinQueryParser it states: "The join operation is done on a term basis, so the "from" and "to" fields must use compatible field types. For example: joining between a StrField and a TrieIntField will not work, likewise jo

Correct join syntax

2018-10-15 Thread Christoph
I have two cores. One core has the following fields: Type Id The other core has Type Id UserId Access How can I join where core1.Type = core2.Type, core1.Id = core2.id, core2.UserId = , and core2.Access = ? When querying core1, I've tried variations of {!join from=Type to=Type fromIndex=

Solr 7.4.0 : Question related to Stalling of unit tests

2018-10-15 Thread vishal ghugare
Hello solr-users, I have built Solr 7.4.0 with upgraded version (25.0-jre/26.0-jre) of guava dependency. When unit tests are run against solr with guava 25.0-jre or 26.0-jre, some of the unit tests stall indefinitely and the testing never finishes up. For example, here HdfsNNFailoverTest stall in

Re: Solr 7.4.0 : Question related to Stalling of unit tests

2018-10-15 Thread Shawn Heisey
On 10/15/2018 11:00 AM, vishal ghugare wrote: I have built Solr 7.4.0 with upgraded version (25.0-jre/26.0-jre) of guava dependency. When unit tests are run against solr with guava 25.0-jre or 26.0-jre, some of the unit tests stall indefinitely and the testing never finishes up. For example, her

Re: Zookeeper external vs internal

2018-10-15 Thread Charlie Hull
It's also important to remember that you don't need a particularly large or powerful node to run Zookeeper. Charlie On Sun, 14 Oct 2018 at 23:57, Shawn Heisey wrote: > On 10/14/2018 9:31 PM, Sourav Moitra wrote: > > My question does running separate zookeeper ensemble in the same boxes > > prov

Solr Shards down for unknown reason

2018-10-15 Thread Dasarathi Minjur
We have a Hadoop cluster with Solr 6.3 running as service. After an OS security patching, when the cluster was restarted, Solr Cloud is up but the shards are down all the time. No specific messages in Solr.log or console logs. Tried restarting solr but that didn't help. Any pointers to get the shar

RE: Solr Shards down for unknown reason

2018-10-15 Thread Markus Jelsma
Hello, We observed this problem too with older Solr versions. Whenever none of the shard's replica's would come up we would just shut them all down again and restart just one replica and wait. In some cases it won't come up (still true for Solr 7.4), but start a second shard a while later and w

Re: Solr Stream vs Export Request Handlers

2018-10-15 Thread Joel Bernstein
Yes this is correct. But keep in mind Streaming Expression has a wide range of features that have nothing at all to do with the export handler. In general with Streaming Expressions you want to find the functions that get the job done using the least amount of work. The /export handler is often not

Re: Solr Shards down for unknown reason

2018-10-15 Thread Shawn Heisey
On 10/15/2018 1:30 PM, Dasarathi Minjur wrote: We have a Hadoop cluster with Solr 6.3 running as service. After an OS security patching, when the cluster was restarted, Solr Cloud is up but the shards are down all the time. No specific messages in Solr.log or console logs. Tried restarting solr

Re: Correct join syntax

2018-10-15 Thread damienk
Hi Christoph, The closest I can get is: {!join from=id to=id v="+UserId= +Access="} If there was a combined id/type field then you could join on that. Regards, Damien. On Tue, 16 Oct 2018 at 04:10, Christoph < christoph+develo...@project-mayhem.org> wrote: > I have two cores. > > One core has

Re: LTR feature extraction

2018-10-15 Thread Midas A
Please reply. On Mon, 15 Oct 2018, 3:21 pm Midas A, wrote: > Hi , > i am new to LTR solr and i have following queries regarding same . > > > How i can write feaqture for follwing in solr > > a) Covered_query_term_number: i.e. if search query has n terms and > document cover 2 term then Covered_

join

2018-10-15 Thread Karthik Gullapalli
Please add me to the mailing list

Re: join

2018-10-15 Thread Zheng Lin Edwin Yeo
Please send email to solr-user-subscr...@lucene.apache.org to subscribe to the mailing list. Regards, Edwin On Tue, 16 Oct 2018 at 11:59, Karthik Gullapalli wrote: > Please add me to the mailing list >