Re: Issue when zookeeper session expires during shard leader election.

2015-07-28 Thread Shalin Shekhar Mangar
Hi Mike, Yes, please open a new Jira issue and attach your patch there. We can discuss more on the issue. On Tue, Jul 28, 2015 at 11:40 AM, Michael Roberts wrote: > Hey, > > I am encountering an issue which looks a lot like > https://issues.apache.org/jira/browse/SOLR-6763. > > However, it seem

Re: Quantity wise price searching in Apache SOLR

2015-07-28 Thread Alessandro Benedetti
As a first sight this is a nested object problem. Your quantity - price is nested object, child of the Product . Different approaches can fit with this requirements. What I would suggest is to give a look so Solr/Lucene Join. Let's take a quick overview of nested objects in Solr : 1) custom seri

Re: Solr Cloud: Duplicate documents in multiple shards

2015-07-28 Thread mesenthil1
Thanks Erick. We could not recollect what could have happened in between.. Yes. We are seeing the same document in 2 shards. "Uniquefiled" is set as uuid in schema and declared as String. Will go with reindexing. schema.xml : Query: http://localhost:1004/solr/collection1/select?q=id:%22

Re: Stemming Issue

2015-07-28 Thread Alessandro Benedetti
As it is possible to read in the documentation, the KStemFilter is a soft ( not much aggressive) english stemmer. As Ahmet properly specified, are you preceding that filter with a lowercase one ? What is exactly the stemming you get that doesn't convince you ? Cheers 2015-07-28 0:16 GMT+01:00 Ahm

SOLR Exception with SOLR Cloud 5.1 setup on Linux

2015-07-28 Thread sangeetha.subraman...@gtnexus.com
Hi, I have set up SOLR Cloud comprising of 2 solr instances and zookeeper in separate instance. Have created one shard in one of the solr node and the other solr node act as a replica for that shard. I am able to post documents through UI. But while trying to connect from Java layer I am gettin

RE: Quantity wise price searching in Apache SOLR

2015-07-28 Thread Reitzel, Charles
This is a job for a custom query function. -Original Message- From: unique.jim...@gmail.com [mailto:unique.jim...@gmail.com] Sent: Tuesday, July 28, 2015 2:35 AM To: solr-user@lucene.apache.org Subject: Quantity wise price searching in Apache SOLR Currently I am working on e-commerce web

Re: Use faceted search to drill down in hierarchical structure and omit node data outside current selection

2015-07-28 Thread Alessandro Benedetti
The fact is that you are trying to model a hierarchical facet on documents that actually index the content as a simple field. What I would suggest for example is to use a PathhierarcyTokenizer for your field with a proper separator. This will produce these tokens in the index : input : Man > top

Re: SOLR Exception with SOLR Cloud 5.1 setup on Linux

2015-07-28 Thread Shawn Heisey
On 7/28/2015 8:22 AM, sangeetha.subraman...@gtnexus.com wrote: > org.apache.solr.client.solrj.SolrServerException: > org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error > from server at http://10.111.65.150:8080/solr/umbcollection: No active slice > servicing hash code 10

solr 5 post.jar simple post tool error when indexing java extension

2015-07-28 Thread seung1
Hi i am using solr 5.2.1 in windows 7 what I was trying to do is indexing java extension file using post.jar posting tool what I tried: java -Dauto=yes -Dc=java -Ddata=files -Dfiletypes=java -Drecursive=yes -jar post.jar abc.jar it gives me error java.lang.NoClassDefFoundError

Re: Use faceted search to drill down in hierarchical structure and omit node data outside current selection

2015-07-28 Thread PeterKerk
Oh and one more thing, I was Googling on this and found http://www.springyweb.com/2012/01/hierarchical-faceting-with-elastic.html, so apparently your solution is similar to this: hierarchical Faceting With Elastic Search? So does your solution facilitate for items to be in multiple categories? e

Re: Use faceted search to drill down in hierarchical structure and omit node data outside current selection

2015-07-28 Thread Alessandro Benedetti
Hi Peter, yeah, i briefly read it, it seems quite similar ! There is no problem I can see yet with Multi values. The token produced will be properly managed. Cheers 2015-07-28 17:06 GMT+01:00 PeterKerk : > Oh and one more thing, I was Googling on this and found > http://www.springyweb.com/2012/0

Re: Dollar signs in field names

2015-07-28 Thread Thomas Seidl
Thanks for your answer! As mentioned, I'm aware of the problems with other characters like colons and dashes. I've just never run into any issues with dollar signs. And previously, before there was an official definition, I heard from several people that "valid Java identifiers" was a good rule of

Re: SOLR Exception with SOLR Cloud 5.1 setup on Linux

2015-07-28 Thread sangeetha.subraman...@gtnexus.com
Yes I did create two shards and two replicas and later dropped the other one.. Version is 5.1 . can you please tell me how this can be fixed ?? Thanks Sangeetha Sent from mobile On Jul 28, 2015 8:46 PM, Shawn Heisey wrote: On 7/28/2015 8:22 AM, sangeetha.subraman...@gtnexus.com wrote: > org.ap

Parameterized values

2015-07-28 Thread William Bell
http://yonik.com/solr-query-parameter-substitution/ This is not working as part of QTs. Cannot load the core, since ${value} is being used for XML parameters for system property substitution. https://wiki.apache.org/solr/SolrConfigXml#System_property_substitution Can we support both? PS127 hos

Re: Dollar signs in field names

2015-07-28 Thread Jack Krupansky
Leading dollar sign indicates parameter substitution. Embedded dollar sign should - in theory - work. -- Jack Krupansky On Tue, Jul 28, 2015 at 1:00 PM, Thomas Seidl wrote: > Thanks for your answer! > > As mentioned, I'm aware of the problems with other characters like > colons and dashes. I've

Re: Parameterized values

2015-07-28 Thread William Bell
https://issues.apache.org/jira/browse/SOLR-7846 On Tue, Jul 28, 2015 at 11:16 AM, William Bell wrote: > http://yonik.com/solr-query-parameter-substitution/ > > This is not working as part of QTs. > > Cannot load the core, since ${value} is being used for XML parameters for > system property subs

Re: SOLR Exception with SOLR Cloud 5.1 setup on Linux

2015-07-28 Thread Shawn Heisey
On 7/28/2015 11:06 AM, sangeetha.subraman...@gtnexus.com wrote: > Yes I did create two shards and two replicas and later dropped the other > one.. Version is 5.1 . can you please tell me how this can be fixed ?? That's why you're having trouble. Half the index disappeared when you deleted that s

Re: SOLR Exception with SOLR Cloud 5.1 setup on Linux

2015-07-28 Thread Yonik Seeley
On Tue, Jul 28, 2015 at 6:54 PM, Shawn Heisey wrote: > To get out of the hole you're in now, either build a new collection with > the actual shard count that you want so it's correctly set up, or edit > the clusterstate in zookeeper to change the hash range (change 8000 > to ) Actuall

Re: Have anyone used Automatic Phrase Tokenization (AutoPhrasingTokenFilterFactory) ?

2015-07-28 Thread kitkat729
-- View this message in context: http://lucene.472066.n3.nabble.com/Have-anyone-used-Automatic-Phrase-Tokenization-AutoPhrasingTokenFilterFactory-tp4173808p4219594.html Sent from the Solr - User mailing list archive at Nabble.com.