Re: How can I set the defaultOperator to be AND?

2016-04-25 Thread Jan Høydahl
I think a workaround for your specific case could be to set mm=100% & q.op=OR (although it used to work for q.op=AND before) -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 25. apr. 2016 kl. 14.53 skrev Shawn Heisey : > > On 4/25/2016 6:39 AM,

Re: Solr slave is doing full replication (entire index) of index after master restart

2016-04-25 Thread Shalin Shekhar Mangar
Hi Lior, Sorry for the late reply. I am able to successfully reproduce this problem on Solr 5.3.1 and on Solr 6.0.0 as well. The interesting thing is that if the master is restarted before the poll interval (1 minute in your case) then the index is not downloaded again. But if the slave makes

Solr Reference Guide for 6.0 Released

2016-04-25 Thread Cassandra Targett
The Lucene PMC is pleased to announce that the Apache Solr Reference Guide for 6.0 has been released. The Guide has been updated extensively for 6.0, with new sections for Parallel SQL and Cross Data Center Replication. This 660 page PDF is the definitive guide to Solr and can be downloaded from:

Re: ConcurrentUpdateSolrClient Invalid version (expected 2, but 60) or the data in not in 'javabin' format

2016-04-25 Thread Joe Lawson
This appear to be a bug that'll be fixed in 6.1: https://issues.apache.org/jira/browse/SOLR-7729 On Fri, Apr 22, 2016 at 8:07 PM, Doug Turnbull < dturnb...@opensourceconnections.com> wrote: > Joe this might be _version_ as in Solr's optimistic concurrency used in > atomic updates, etc > >

Re: How can I set the defaultOperator to be AND?

2016-04-25 Thread Georg Sorst
With Solr 6.0 I've had to set mm=100% & q.op=AND for a full AND query (and mm=1 & q.op=OR for a full OR query). Jan Høydahl schrieb am Mo., 25. Apr. 2016 um 16:04 Uhr: > I think a workaround for your specific case could be to set mm=100% & > q.op=OR (although it used to

Re: Replicas for same shard not in sync

2016-04-25 Thread Erick Erickson
bq: I also read that it's up to the client to keep track of updates in case commits don't happen on all the replicas. This is not true. Or if it is it's a bug. The update cycle is this: 1> updates get to the leader 2> updates are sent to all followers and indexed on the leader as well 3> each

Re: ConcurrentUpdateSolrClient Invalid version (expected 2, but 60) or the data in not in 'javabin' format

2016-04-25 Thread Anshum Gupta
Hi Joe, Can you confirm if the version of Solr and SolrJ are in sync ? On Mon, Apr 25, 2016 at 10:05 AM, Joe Lawson < jlaw...@opensourceconnections.com> wrote: > This appear to be a bug that'll be fixed in 6.1: > https://issues.apache.org/jira/browse/SOLR-7729 > > On Fri, Apr 22, 2016 at 8:07

Re: Solr slave is doing full replication (entire index) of index after master restart

2016-04-25 Thread Erick Erickson
You should follow the unsubscribe instructions here: http://lucene.apache.org/solr/resources.html Under the "mailing list" section. You must use the exact same e-mail addresss you used to subscribe. If you still have problems, let us know. Erick On Mon, Apr 25, 2016 at 9:33 AM, Pla Gong

Re: The Streaming API (Solrj.io) : id must have DocValues?

2016-04-25 Thread Joel Bernstein
Can you describe how you're planning on using Streaming? I can provide some feedback on how it will perform for your use use. When scaling out Streaming you'll get large performance boosts when you increase the number of shards, replicas and workers. This is particularly true if you're doing

Re: ConcurrentUpdateSolrClient Invalid version (expected 2, but 60) or the data in not in 'javabin' format

2016-04-25 Thread Joe Lawson
Yes they are both 6.0. On Apr 25, 2016 1:07 PM, "Anshum Gupta" wrote: > Hi Joe, > > Can you confirm if the version of Solr and SolrJ are in sync ? > > On Mon, Apr 25, 2016 at 10:05 AM, Joe Lawson < > jlaw...@opensourceconnections.com> wrote: > > > This appear to be a bug

Re: Solr slave is doing full replication (entire index) of index after master restart

2016-04-25 Thread Pla Gong
Please remove me from the newsgroup. Thanks, Pla From: Shalin Shekhar Mangar Sent: Monday, April 25, 2016 8:20 AM To: solr-user@lucene.apache.org Cc: lior.sa...@gmail.com Subject: Re: Solr slave is doing full replication (entire

Re: Solr slave is doing full replication (entire index) of index after master restart

2016-04-25 Thread Pla Gong
All, I am getting tons of email per day from this newsgroup. Does anyone know how to remove ones self from the newsgroup. Thanks in advance, Pla From: Pla Gong Sent: Monday, April 25, 2016 9:27 AM To:

Re: how to retrieve json facet using solrj

2016-04-25 Thread Georg Sorst
Hi Yangrui, from what I've gathered the JSON Facets are not supported in SolrJ yet, so you need to manually work with the response, ie.: response.getResponse().get("facets") Best, Georg Yangrui Guo schrieb am So., 24. Apr. 2016 um 22:13 Uhr: > Hello > > I use json facet

Re: Replicas for same shard not in sync

2016-04-25 Thread David Smith
Erick, So that my understanding is correct, let me ask, if one or more replicas are down, updates presented to the leader still succeed, right? If so, tedsolr is correct that the Solr client app needs to re-issue updates, if it wants stronger guarantees on replica consistency than what Solr

Re: Getting duplicate output while doing auto suggestion based on multiple filed using copy filed in solr 5.5

2016-04-25 Thread Tejas Bhanushali
Hi Team , Please follow the below steps to reproduce this issue.for that you to change the existing config file under the directory solr-5.5.0\server\solr\configsets\sample_techproducts_configs\conf . Note:- if you see the config i have used the "AnalyzingInfixLookupFactory" instead of

Re: Replicas for same shard not in sync

2016-04-25 Thread Erick Erickson
Ted: Yes, deleting and re-adding the replica will be fine. Having commits happen from the client when you _also_ have autocommits that frequently (10 seconds and 1 second are pretty aggressive BTW) is usually not recommended or necessary. David: bq: if one or more replicas are down, updates

Re: Replicas for same shard not in sync

2016-04-25 Thread tedsolr
Erick, I was referring to the Achieved Replication Factor section of the Solr reference guide Maybe I'm misreading it. If an update succeeds on the leader but fails on the replica, it's a success for the

measuring query performance & qps per node

2016-04-25 Thread Jay Potharaju
Hi, I am trying to measure how will are queries performing ie how long are they taking. In order to measure query speed I am using solrmeter with 50k unique filter queries. And then checking if any of the queries are slower than 50ms. Is this a good approach to measure query performance? Are

Re: concat 2 fields

2016-04-25 Thread vrajesh
in my solr config there are many requestHandler so i am confused in which requestHandler i should add it. i have some requestHandlers with names "/select", "/export","/query","/browse" and much more. i want to use this new processor chain for all type of file formats. -- View this message in

Re: The Streaming API (Solrj.io) : id must have DocValues?

2016-04-25 Thread Reth RM
Hi, So, is the concern related to same field value being stored twice: with stored=true and docValues=true? If that is the case, there is a jira relevant to this, fixed[1]. If you upgrade to 5.5/6.0 version, it is possible to read non-stored fields from docValues index., check out. [1]

Solr Cloud Indexing Performance degrades suddenly

2016-04-25 Thread preeti kumari
Hi, I have 2 solr cloud setups : Primary and secondary. Both are importing data from same DB . I am using DIH to index data. I was previously getting speed of 700docs/sec . Now suddenly primary cluster is giving me a speed of 20docs/sec. Same configs in Secondary is still giving 700 docs/sec

Re: Replicas for same shard not in sync

2016-04-25 Thread tedsolr
I've done a bit of reading - found some other posts with similar questions. So I gather "Optimizing" a collection is rarely a good idea. It does not need to be condensed to a single segment. I also read that it's up to the client to keep track of updates in case commits don't happen on all the

Re: measuring query performance & qps per node

2016-04-25 Thread Jay Potharaju
Thanks for the response Erick. I knew that it would depend on the number of factors like you mentioned.I just wanted to know whether a good combination of queries, facets & filters should be a good estimate of how solr might behave. what did you mean by "Add stats to pivots in Cloud mode."

Re: regarding filter on spell checker

2016-04-25 Thread Reth RM
Could you please the requirement with an example? Its not clear as to what you mean by index property. On Tue, Apr 26, 2016 at 8:54 AM, Adrita G wrote: > Hi > >I want to whether we can apply any filters on spell checker.My > requirement is like that I need to filter

regarding filter on spell checker

2016-04-25 Thread Adrita G
Hi         I want to whether we can apply any filters on spell checker.My requirement is like that I need to filter the suggestions based on one indexed property.I am trying to trying to filter queries,but the result is not getting filtered.Please help on this. Thaks & regards Adrita Goswami

Re: measuring query performance & qps per node

2016-04-25 Thread Erick Erickson
Impossible to answer. For instance, a facet query can be very heavy-duty. Add stats to pivots in Cloud mode. As for using a bunch of fq clauses, It Depends (tm). If your expected usage pattern is all queries like 'q=*:*=clause1=clause2" then it's fine. It totally falls down if, for instance, you

Re: concat 2 fields

2016-04-25 Thread Reth RM
It should be added to /update request handler. All the others that you have listed here are search request handlers, you should add this one to /update RH. On Mon, Apr 25, 2016 at 12:12 PM, vrajesh wrote: > in my solr config there are many requestHandler so i am confused in

Re: How can I set the defaultOperator to be AND?

2016-04-25 Thread Bastien Latard - MDPI AG
Any news? Remember: If I add the following line to the schema.xml, even if I do a search 'title:"test" OR author:"me"', it will returns documents matching 'title:"test" AND author:"me"': kr, Bast On 22/04/2016 13:22, Bastien Latard - MDPI AG wrote: Yes Jan, I'm using edismax. This is (a

Re: How can I set the defaultOperator to be AND?

2016-04-25 Thread Shawn Heisey
On 4/25/2016 6:39 AM, Bastien Latard - MDPI AG wrote: > Remember: > If I add the following line to the schema.xml, even if I do a search > 'title:"test" OR author:"me"', it will returns documents matching > 'title:"test" AND author:"me"': > The settings in the schema for default field and