RE: change in the Standard Query Parser behavior when migrating from Solr 5 to 7.

2018-05-10 Thread Piyush Kumar Nayak
Shawn, I've raised a bug for the issue https://issues.apache.org/jira/browse/SOLR-12340 have shared the schemas there, in case you wanna take a look. Thanks for helping out. -Original Message- From: Shawn Heisey [mailto:apa...@elyograg.org] Sent: Thursday, May 10, 2018 3:41 AM To:

Re: Must clause with filter queries

2018-05-10 Thread Susheel Kumar
1. a) is accurate while 2. b) is accurate. if query 1. a) is just for example then its fine but otherwise usually want to use filter on fields which has low cardinality like state, country, gender etc. Name is a high cardinality column and using filter query wouldn't be efficient and also doesn't

Change default quey fields in solrcloud using the API

2018-05-10 Thread ypriverol
I would like to change the default fields for the query in Solr using the API https://github.com/apache/lucene-solr/blob/master/solr/solr-ref-guide/src/config-api.adoc . I have found examples of changing the default facets for search handler

How to replacing values on multiValued all together by using 1 query

2018-05-10 Thread Issei Nishigata
Hi, all I create a field called employee_name, and use it as multiValued. If “Mr.Smith" that is part of the value of the field is changed to “Mr.Brown", do I have to create 1 million deletion queries and updating queries in case where “Mr.Smith" appears in 1 million documents? Do we have a

Performance if there is a large number of field

2018-05-10 Thread Issei Nishigata
Hi, all I am designing a schema. I calculated the number of the necessary field as trial, and found that I need at least more than 35000. I do not use all these fields in 1 document. I use 300 field each document at maximum, and do not use remaining 34700 fields. Does this way of using it

spelling and collation with correctly spelt words

2018-05-10 Thread Dan .
Hi, What combination of spellcheck parameters would return collations that include query words that are spelt correctly. e.g. if I search for 'sales managr' .. I might want collations that include 'sales'. Also each suggestion doesn't seem to indicate if a word is spelt correctly, just overall.

Collection Backup During Indexing

2018-05-10 Thread Chris Ulicny
Hi all, Not sure if this is a bug or not, but in versions 6.3.0 and 7.2.1 it seems that an async backup task is put into "completed tasks" even though it seems to have failed during processing: Response: ... "testbackup213286829099257358":{ "responseHeader":{ "status":0,

Re: Using Solr / Lucene with OpenJDK

2018-05-10 Thread Shawn Heisey
On 5/10/2018 8:56 AM, Christopher Schultz wrote: What version of OpenJDK did you happen to run? I don't remember for sure, but it was probably version 8. All my current Solr installs are on machines with Oracle Java. My preference would be for Java 8, but on my Debian Wheezy install only

Re: Solr soft commits

2018-05-10 Thread Shawn Heisey
On 5/10/2018 9:48 AM, Shivam Omar wrote: I need some help in understanding solr soft commits. As soft commits are about visibility and are fast in nature. They are advised for nrt use cases. Soft commits *MIGHT* be faster than hard commits.  There are situations where the performance of a

Re: Using Solr / Lucene with OpenJDK

2018-05-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Shawn, On 4/24/18 11:23 AM, Shawn Heisey wrote: > On 4/24/2018 8:50 AM, Steven White wrote: >> Does anyone use Solr, any version, with OpenJDK? If so, what >> has been you experience? Also, what platforms have you used it >> on? > > I've used it

Re: Performance if there is a large number of field

2018-05-10 Thread Shawn Heisey
On 5/10/2018 7:51 AM, Issei Nishigata wrote: I am designing a schema. I calculated the number of the necessary field as trial, and found that I need at least more than 35000. I do not use all these fields in 1 document. I use 300 field each document at maximum, and do not use remaining 34700

Solr 7 - BloomFilteringPostingsFormat

2018-05-10 Thread Sergey Kukalev
Hi everyone! I've been trying to use BloomFilteringPostingsFormat in my solr 7 cluster. What I did: in my managed-schema I created new fieldType with postingsFormat="BloomFilter" and I got exception org.apache.lucene.codecs.bloom.BloomFilteringPostingsFormat has been constructed without a choice

Solr soft commits

2018-05-10 Thread Shivam Omar
Hi, I need some help in understanding solr soft commits. As soft commits are about visibility and are fast in nature. They are advised for nrt use cases. I want to understand does soft commit also honor merge policies and do segment merging for docs in memory. For example, in case, I keep

Re: How to replacing values on multiValued all together by using 1 query

2018-05-10 Thread Shawn Heisey
On 5/10/2018 7:51 AM, Issei Nishigata wrote: I create a field called employee_name, and use it as multiValued. If “Mr.Smith" that is part of the value of the field is changed to “Mr.Brown", do I have to create 1 million deletion queries and updating queries in case where “Mr.Smith" appears in 1

Re: Performance if there is a large number of field

2018-05-10 Thread Deepak Goel
Deepak "The greatness of a nation can be judged by the way its animals are treated. Please stop cruelty to Animals, become a Vegan" +91 73500 12833 deic...@gmail.com Facebook: https://www.facebook.com/deicool LinkedIn: www.linkedin.com/in/deicool "Plant a Tree, Go Green" Make In India :

Re: Performance if there is a large number of field

2018-05-10 Thread Deepak Goel
I wonder what does Solr stores in the document for fields which are not being used. And if the queries have a performance difference https://lucene.apache.org/solr/guide/6_6/defining-fields.html (A default value that will be added automatically to any document that does not have a value in this

Re: Performance if there is a large number of field

2018-05-10 Thread Shawn Heisey
On 5/10/2018 10:58 AM, Deepak Goel wrote: I wonder what does Solr stores in the document for fields which are not being used. And if the queries have a performance difference https://lucene.apache.org/solr/guide/6_6/defining-fields.html (A default value that will be added automatically to any

Re: Solr soft commits

2018-05-10 Thread Mark Miller
A soft commit does not control merging. The IndexWriter controls merging and hard commits go through the IndexWriter. A soft commit tells Solr to try and open a new SolrIndexSearcher with the latest view of the index. It does this with a mix of using the on disk index and talking to the

Re: Solr soft commits

2018-05-10 Thread Shivam Omar
From: Shawn Heisey Sent: Thursday, May 10, 9:43 PM Subject: Re: Solr soft commits To: solr-user@lucene.apache.org On 5/10/2018 9:48 AM, Shivam Omar wrote: > I need some help in understanding solr soft commits. As soft commits are about visibility and are fast in nature. They are advised for

Re: Performance if there is a large number of field

2018-05-10 Thread Deepak Goel
On Fri, 11 May 2018, 01:15 Shawn Heisey, wrote: > On 5/10/2018 11:49 AM, Deepak Goel wrote: > > Sorry but I am unclear about - "What if there is no default value and the > > field does not contain anything"? What does Solr pass on to Lucene? Or is > > the field itself

Re: Performance if there is a large number of field

2018-05-10 Thread Shawn Heisey
On 5/10/2018 11:49 AM, Deepak Goel wrote: Sorry but I am unclear about - "What if there is no default value and the field does not contain anything"? What does Solr pass on to Lucene? Or is the field itself omitted from the document? If there is no default value and the field doesn't exist in