Registering

2018-02-19 Thread Graham Berends
Hi Solr/Lucene My name is Graham Berends. Just installed Solr on my Linux machine: solr-7.2.1 Regards Graham Processor - MemTotal: 4040920 kB model name : Intel(R) Xeon(R) CPU X5550 @ 2.67GHz 64 bit cpu cores : 4 architecture : 64bit system

ZK session times out intermittently

2018-02-19 Thread Roy Lim
Hi all, here's my setup: 6 x Solr (3 primary shard, 3 secondary) 3 x ZK The client is indexing over 16 million documents using 8 threads. Auto-soft commit is 3 minutes, auto-commit is 10 minutes. The following timeout is observed in our client log, intermittently: Thinking that this is a

Re: Solr Plugins Documentation

2018-02-19 Thread Emir Arnautović
Hi, It is not query parser but update request processor, but you can find simple buildable Solr plugin on https://github.com/od-bits/solr-multivaluefield-processor . You can also find a related blogpost that has some details how to

Re: Issue Using JSON Facet API Buckets in Solr 6.6

2018-02-19 Thread Antelmo Aguilar
Hi all, I was wondering if the information I sent is sufficient to look into the issue. Let me know if you need anything else from me please. Thanks, Antelmo On Thu, Feb 15, 2018 at 1:56 PM, Antelmo Aguilar wrote: > Hi, > > Here are two pastebins. The first is the full

RE: Index size increases disproportionately to size of added field when indexed=false

2018-02-19 Thread Alessandro Benedetti
Hi David, good to know that sorting solved your problem. I understand perfectly that given the urgency of your situation, having the solution ready takes priority over continuing with the investigations. I would recommend anyway to open a Jira issue in Apache Solr with all the information

Re: Getting the error - The field '*********' does not support spatial filtering

2018-02-19 Thread Aakanksha Gupta
Thanks David. That was helpful. I was able to get it to work with after I removed my schema.xml and modified the managed-schema to add my fields. I'm not sure if this is the right thing to do, but this is how I got it to work :) On Mon, Feb 19, 2018 at 7:54 AM, Howe, David

Re: SolrException: Error Instantiating queryParser, com.site.s.CustomQParserPlugin failed to instantiate org.apache.solr.search.QParserPlugin

2018-02-19 Thread Emir Arnautović
Hi, Here is a blog post that shows how simple update processor is built/configured/deployed (you can ignore docValues part and why custom processor is done). You can follow that and see what you did wrong in your case: http://www.od-bits.com/2018/02/solr-docvalues-on-analysed-field.html

Help required with SolrJ

2018-02-19 Thread Aakanksha Gupta
Hi all, I'm looking for some help with SolrJ for querying spatial data. I have the following URL query working fine, where it returns the results which are within 100km radius from the 'pt' provided in the URL and where the timestamp field is between the two timestamps provided in the URL. It also

Re: Help required with SolrJ

2018-02-19 Thread Shawn Heisey
On 2/19/2018 6:44 AM, Aakanksha Gupta wrote: http://localhost:8983/solr/geoloc/select/?q=*:*={!geofilt}=latlong=-6.08165,145.8612430=100=json=timestamp:[151890840%20TO%20151891200]=*,_dist_:geodist() But I'm not sure how to build the SolrJ equivalent of this query using SolrQuery. I

Re: Help required with SolrJ

2018-02-19 Thread Erick Erickson
Aakanksha: Be a little careful here, filter queries with timestamps can be tricky. The example you have is fine, but for end-points with finer granularity may be best if you don't cache them, see: https://lucidworks.com/2012/02/23/date-math-now-and-filter-queries/ Best, Erick On Mon, Feb 19,

Re: Reg Elevate component

2018-02-19 Thread Erick Erickson
Right, so I'd guess if you checked 4.1 you'd see the same behavior. If not please let us know. On Mon, Feb 19, 2018 at 9:17 AM, bbarani wrote: > I used to use elevate.xml before (in SOLR 4.1) and never noticed this > behavior before (may be I didn't check these specific use

Issue :-Unable to write response, client closed connection or we are shutting down org.eclipse.jetty.io.EofException: Closed

2018-02-19 Thread Sidharth Aggarwal
Hello Team, Hello We are getting below error while downloading indexing data (basically tagging them) o.a.s.s.HttpSolrCall Unable to write response, client closed connection or we are shutting down org.eclipse.jetty.io.EofException: Closed at

Re: Reg Elevate component

2018-02-19 Thread Erick Erickson
bq: "... elevate component would only elevate if the document is part of the returned result set..." That's never been true that I know of. QEC is a sledgehammer, when you say "I want this doc returned for this query" it's assumed you really _mean_ it and the doc will be returned no matter what.

Re: Reg Elevate component

2018-02-19 Thread bbarani
I used to use elevate.xml before (in SOLR 4.1) and never noticed this behavior before (may be I didn't check these specific use cases where elevated documents doesn't contain any searched keyword) but I started elevating id's via query param now (using elevateIds parameter) and I started noticing

Re: Help required with SolrJ

2018-02-19 Thread Aakanksha Gupta
Hi Shawn, Thanks for the quick solution. It works. I just had to replace %20 to space in query.addFilterQuery("timestamp:[151890840 TO 151891200]"); Thanks a ton! :) On Mon, Feb 19, 2018 at 11:43 PM, Shawn Heisey wrote: > On 2/19/2018 6:44 AM, Aakanksha Gupta

Reg Elevate component

2018-02-19 Thread bbarani
I was under the impression that elevate component would only elevate if the document is part of the returned result set(at some position) for that searched keyword. Is that true? I see that the results are elevated even if the elevated document doesn't match with the keyword (score - 0) now. I

Re: Facet performance problem

2018-02-19 Thread Erick Erickson
I'm confused here. What do you mean by "facet filtering"? Your examples have no facets at all, just a _filter query_. I'll assume you want to use filter query (fq), and faceting has nothing to do with it. This is one of the tricky bits of docValues. While it's _possible_ to search on a field

Re: Getting the error - The field '*********' does not support spatial filtering

2018-02-19 Thread Erick Erickson
bq: I was able to get it to work with after I removed my schema.xml and modified the managed-schema to add my fields That's fine. You have three options and they can be confusing: 1> use classic schema (i.e. schema.xml). Requires that you replace the managed schema definition with classic in

Re: Help required with SolrJ

2018-02-19 Thread Shawn Heisey
On 2/19/2018 8:49 AM, Aakanksha Gupta wrote: > Thanks for the quick solution. It works. I just had to replace %20 to space > in query.addFilterQuery("timestamp:[151890840 TO 151891200]"); > > Thanks a ton! :) Right, I didn't even really look closely at what was in the fq parameter, I

Re: solr cloud unique key query request is sent to all shards!

2018-02-19 Thread Ganesh Sethuraman
This works !. Both V1 and V2 version of the real time get works fine. Just an added note, the performance (response time) also improved. Thanks Tom On Mon, Feb 19, 2018 at 1:17 AM, Tomas Fernandez Lobbe wrote: > In real-time get, the parameter name is “id”, regardless of the

7.2.1 ExactStatsCache seems no longer functioning

2018-02-19 Thread Markus Jelsma
Hello, We're on 7.2.1 and rely on ExactStatsCache to work around the problem of not all nodes sharing the same maxDoc within a shard. But, it doesn't work, anymore! I've looked things up in Jira but nothing so far. SOLR-10952 also doesn't cause it because with queryResultCache disabled,

Facet performance problem

2018-02-19 Thread MOUSSA MZE Oussama-ext
Hi We have following environement : 3 nodes cluster 1 shard Replication factor = 2 8GB per node 29 millions of documents We've faceting over field "motifPresence" defined as follow: Once the user selects motifPresence filter we executes search again with: fq: (value1 OR value2 OR value3 OR

RE: 7.2.1 ExactStatsCache seems no longer functioning

2018-02-19 Thread Markus Jelsma
Correction, SOLR-10952 is actually the real case (i misconfigured a test previously, p). Well, what's the solution around this problem then? I would assume the cache stores the results of a query that was already executed with ExactStats, but that doesn't seem to be the case. So, what to

Re: Hard commits blocked | non-solrcloud v6.6.2

2018-02-19 Thread mmb1234
The below solrconfig.xml settings resolved the TIMED_WAIT in ConcurrentMergeScheduler.doStall(). Thanks to Shawn and Erik for their pointers. ... 30 100 30.0 18 6 300 ... ${solr.autoCommit.maxTime:3}

Re: 9000+ CLOSE_WAIT connections in solr v6.2.2 causing it to "die"

2018-02-19 Thread mmb1234
FYI. This issue went away after solrconfig.xml was tuned. "Hard commits blocked | non-solrcloud v6.6.2" thread has the details. http://lucene.472066.n3.nabble.com/Hard-commits-blocked-non-solrcloud-v6-6-2-td4374386.html -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Need help with match contains query in SOLR

2018-02-19 Thread bbarani
Hi, I have a requirement where I want to perform the 'contains' match and would need your help to define the fieldtype and query for this requirement. Value stored in SOLR: transfer responsibility transfer account Now, I want the above document to be returned for the below keyword when I