Key/Value Query

2015-01-29 Thread Trilok Prithvi
Hi, I need your help on the following query: *Indexed data (field name is 'text'):* ** *I'm also a cat* *I'm pig* *I'm a cat* *I'm a hero* *I'm a superman* *I'm dog* I want to query for *text:(i'm cat) OR text:(i'm dog) OR text:(i'm god)* And I wo

Re: Search Query with editdistance - throws Null Pointer

2014-12-18 Thread Trilok Prithvi
Thanks Hoss. But how do we avoid this error? Is there anyway to tweak the query and return empty result instead of null pointer exception? On Thu, Dec 18, 2014 at 4:31 PM, Trilok Prithvi wrote: > > Here is the stack trace... > > java.lang.NullPointer

Re: Search Query with editdistance - throws Null Pointer

2014-12-18 Thread Trilok Prithvi
Here is the stack trace... java.lang.NullPointerException at org.apache.lucene.search.spell.LevensteinDistance.getDistance(LevensteinDistance.java:66) at org.apache.solr.search.function.distance.StringDistanceFunction$1.floatVal(StringDistanceFunction.java:54) at org.apache.lucene.queries.function

Search Query with editdistance - throws Null Pointer

2014-12-17 Thread Trilok Prithvi
When I run the following query (Solr 4.10.2) with edit-distance, I'm getting a null pointer exception: */solr/select?q=fld:(Event ID)&fl=strdist("eventid",fld_alphaonly,edit)* java.lang.NullPointerException 500 It works if I remove the space between "Event ID", like: */solr/select?q=fld:(EventID

Re: OutOfMemoryError

2014-12-16 Thread Trilok Prithvi
Shawn, looks like the JVM bump did the trick. Thanks! On Tue, Dec 16, 2014 at 10:39 AM, Trilok Prithvi wrote: > > Thanks Shawn. We will increase the JVM to 4GB and see how it performs. > > Alexandre, > Our queries are simple (with strdist() function in almost all the > queri

Re: splitshard the collection time out:900s

2014-12-16 Thread Trilok Prithvi
Sorry... I sent without explaining the situation. We did splitshard: solr/admin/collections?action=SPLITSHARD&collection=anotherCollection&shard=shard1 and we got the above error. Any idea? On Tue, Dec 16, 2014 at 10:41 AM, Trilok Prithvi wrote: > > > > 500 > 900395

splitshard the collection time out:900s

2014-12-16 Thread Trilok Prithvi
500 900395 splitshard the collection time out:900s org.apache.solr.common.SolrException: splitshard the collection time out:900s at org.apache.solr.handler.admin.CollectionsHandler.handleResponse(CollectionsHandler.java:368) at org.apache.solr.handler.admin.CollectionsHandler.handleSplitShardA

Re: OutOfMemoryError

2014-12-16 Thread Trilok Prithvi
hes of various sorts. > > Regards, >Alex. > Personal: http://www.outerthoughts.com/ and @arafalov > Solr resources and newsletter: http://www.solr-start.com/ and @solrstart > Solr popularizers community: https://www.linkedin.com/groups?gid=6713853 > > > On 16 Decemb

OutOfMemoryError

2014-12-16 Thread Trilok Prithvi
We are getting OOME pretty often (every hour or so). We are restarting nodes to keep up with it. Here is our setup: SolrCloud 4.10.2 (2 shards, 2 replicas) with 3 zookeepers. Each node has: 16GB RAM 2GB JVM (Xmx 2048, Xms 1024) ~100 Million documents (split among 2 shards - ~50M on each shard) So

SolrCloud - Shard splitting and re-sizing nodes

2014-12-12 Thread Trilok Prithvi
Hello, We have a 2 shards (S1, S2), 2 replica (R1, R2) setup (Solr Cloud) using 4.10.2 version. Each shard and replica resides on its own nodes (so, total of 4 nodes). As the data increased, we would like to split the shards. So, we are thinking about creating 4 more nodes (2 for shards (S3, S4)

Re: Mongo DB Users

2014-09-15 Thread Trilok Prithvi
Remove please. Thanks! On Mon, Sep 15, 2014 at 11:52 AM, Greg Solovyev wrote: > Remove me from this thread please > > Thanks, > Greg > > - Original Message - > From: "Jack Krupansky" > To: solr-user@lucene.apache.org > Sent: Monday, September 15, 2014 10:44:00 AM > Subject: Re: Mongo DB