Two joins from different cores with OR

2017-09-15 Thread Сергей Твердохлеб
Hi all, I have two joins and I need to link them using OR statement. The first one is > fq={!join fromIndex=master_Category_flip from=manufactureName_string > to=nameString_string}visibility_string_mv:"Test_B2BUnit" AND > itemtype_string:"Model" which returns result A The second one is > fq=(

Meet CorruptIndexException while shutdown one node in Solr cloud

2017-09-15 Thread wg85907
Hi team, Currently I am using Solr 4.10 in tomcat. I have a one shard Solr Cloud with 3 replicas. I set heap size to 15GB for each node. As I have big data volume and large amount of query request. So always meet frequent full GC issue. We have checked this and found that many memory was us

solr Facet.contains

2017-09-15 Thread vobium
Hello, I want to limit my facet data by using substring (only that contain specified substring). My solr version is 4.8.0 e.g if doc with such type of string (field with such type of data is multivalued and splited with "~") India/maha/mumbai~India/gujarat/badoda India/goa/xyz India/raj/jaypu

solr Facet.contains

2017-09-15 Thread vobium
Hello, I want to limit my facet data by using substring (only that contain specified substring). My solr version is 4.8.0 e.g if doc with such type of string (field with such type of data is multivalued and splited with "~") India/maha/mumbai~India/gujarat/badoda India/goa/xyz India/raj/jaypu

solr Facet.contains

2017-09-15 Thread vobium
Hello, I want to limit my facet data by using substring (only that contain specified substring). My solr version is 4.8.0 e.g if doc with such type of string (field with such type of data is multivalued and splited with "~") India/maha/mumbai~India/gujarat/badoda India/goa/xyz India/raj/jaypu

Re: solr Facet.contains

2017-09-15 Thread Michael Kuhlmann
What is the field type? Which Analyzers are configured? How do you split at "~"? (You have to do it by yourself, or configure some tokenizer for that.) What do you get when you don't filter your facets? What do you mean with "it is not working"? What is your result now? -Michael  Am 15.09.2017 u

Re: Solr list operator

2017-09-15 Thread Shawn Heisey
On 9/12/2017 7:21 AM, Nick Way wrote: > Thank you very much Erik, Walter and Susheel. > > To be honest I didn't really understand the suggested routes (due to my > limited knowledge) but managed to get things working by inserting my data > with a double comma at the beginning eg: > > custom field "

Re: Provide suggestion on indexing performance

2017-09-15 Thread Shawn Heisey
On 9/11/2017 9:06 PM, Aman Tandon wrote: > We want to know about the indexing performance in the below mentioned > scenarios, consider the total number of 10 string fields and total number > of documents are 10 million. > > 1) indexed=true, stored=true > 2) indexed=true, docValues=true > > Which on

Re: Meet CorruptIndexException while shutdown one node in Solr cloud

2017-09-15 Thread Erick Erickson
bq: This means Solr may get update request during shutdown. I think that is the reason we get CorruptIndexException. This is unlikely, Solr should handle this quite well. More likely you encountered some other issue, one possibility is that you had a disk full situation and that was the root of y

Re: Two separate instances sharing the same zookeeper cluster

2017-09-15 Thread James Keeney
Mike - Thank you, this was very helpful. I've doing some research and experimenting. As currently configured solr is launched as a service. I looked at the sol.in.sh file in /etc/default and we are running using a list of servers for the zookeeper cluster. so I think that is translated to -z zoo

Re: Two joins from different cores with OR

2017-09-15 Thread Erick Erickson
Two things: 1> The query language does not implement pure boolean logic, although you can get that behavior with careful parenthesizing, see: https://lucidworks.com/2011/12/28/why-not-and-or-and-not/ 2> add &debug=query to the url and see how things are actually parsed to try to chase down why yo

Adding UniqueKey to an existing Solr 6.4 Index

2017-09-15 Thread Pankaj Gurumukhi
Hello, I have a single node Solr 6.4 server, with a Index of 100 Million documents. The default "id" is the primary key of this index. Now, I would like to setup an update process to insert new documents, and update existing documents based on availability of value in another field (say Product

Re: solr 6.6.1: Lock held by this virtual machine

2017-09-15 Thread mshankar
Hi Eric, We are seeing the same issue on our production as well. Changing the LockWriteTimeout to 5000 did not help. Please let me know if there are other things we can try out to recover from this issue. Thanks. -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: solr 6.6.1: Lock held by this virtual machine

2017-09-15 Thread mshankar
Pls note that we are using Solr 6.4.2. -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Adding UniqueKey to an existing Solr 6.4 Index

2017-09-15 Thread Erick Erickson
Not really. Do note that atomic updates require 1> all _original_ fields (i.e. fields that are _not_ destinations for copyFields) have stored=true 2> no destination of a copyField has stored=true 3> compose the original document from stored fields and re-index the doc. This latter just means that a

Re: solr Facet.contains

2017-09-15 Thread vobium
the field type=string when I don't filter facets my query without filter for facet is facet.field="all_data" that time get o/p like this India/maha/mumbai (2) India/gujarat/badoda (1) India/goa/xyz (1) India/raj/jaypur (1) 1236/maha/890 (1) India/maha/kolhapur (1) India/maha