Re: Query Elevation Component

2013-06-05 Thread davers
I have not implemented it yet. And I forget the exact webpage I found. But there was a person on that page discussing the same problem and said it was easy to implement a solution for it but he did not share his solution. If you figure it out let me know. -- View this message in context:

Collections API Reload killing my cloud

2013-05-30 Thread davers
Everytime I try to do a reload using the collections API my entire cloud goes down and I cannot search it. The solrconfig.xml and schema.xml are good because when I just restart tomcat everything works fine. Here is the output of the collections api reload command: 59155087

Re: Collections API Reload killing my cloud

2013-05-30 Thread davers
Is it possible that this has something do do with it? 59157032 [Thread-2] INFO org.apache.solr.cloud.Overseer – Update state numShards=null message={ numShards=null -- View this message in context:

Re: Query Elevation Component

2013-04-18 Thread davers
I want to elevate certain documents differently depending a a certain fq parameter in the request. I've read of somebody coding solr to do this but no code was shared. Where would I start looking to implement this feature myself? -- View this message in context:

Re: Spellchecker not working for Solr 4.1

2013-04-17 Thread davers
When I set distrib=false the spellchecker works perfectly. So I take it spellchecker doesn't work in solr 4.1 in cloud mode. Does anybody know if it works in 4.2.1? -- View this message in context: http://lucene.472066.n3.nabble.com/Spellchecker-not-working-for-Solr-4-1-tp4055450p4056768.html

RE: Spellchecker not working for Solr 4.1

2013-04-17 Thread davers
Thank you for the response -- View this message in context: http://lucene.472066.n3.nabble.com/Spellchecker-not-working-for-Solr-4-1-tp4055450p4056776.html Sent from the Solr - User mailing list archive at Nabble.com.

Query Elevation Component

2013-04-17 Thread davers
I would like to use the Query Elevation Component. As I understand it only elevates based on term. I would also like it to consider the list of fq parameters. Well really just one fq parameter. ex (fq=siteid:4) since I used the same solr index for many sites. Is something like this available

Re: Spellchecker not working for Solr 4.1

2013-04-15 Thread davers
I am using spellcheck=true when i post the search. ex. solr/productindex/productQuery?q=fuacetspellcheck=true -- View this message in context: http://lucene.472066.n3.nabble.com/Spellchecker-not-working-for-Solr-4-1-tp4055450p4056131.html Sent from the Solr - User mailing list archive at

Spellchecker not working for Solr 4.1

2013-04-11 Thread davers
This is almost the same exact setup I was using in solr 3.6 not sure why it's not working. Here is my setup. searchComponent name=spellcheck class=solr.SpellCheckComponent str name=queryAnalyzerFieldTypetextSpell/str lst name=spellchecker str name=namedefault/str str

Solr 4.1 Custom Hashing DIH

2013-01-25 Thread davers
When I used 4.0 I could use my DIH on any shard and the documents would be distributed based on the internal hashing algorithm and end up distributed evenly across my three shards. I have just upgraded to Solr 4.1 and I have noticed that my documents always end up on the shard that I run the DIH

Re: Solr 4.1 Custom Hashing DIH

2013-01-25 Thread davers
I found this: https://issues.apache.org/jira/browse/SOLR-2592 And tried adding the following to my solrconfig.xml shardKeyParserFactory class=org.apache.solr.common.cloud.CompositeIdShardKeyParser str name=clausegroupid/str bool name=clauseRequiredfalse/bool /shardKeyParserFactory

Re: Solr 4.1 Custom Hashing DIH

2013-01-25 Thread davers
Also this doesn't seem like a problem with DIH specifically. I tried doing JSON updates with the same result. Documents are only added to the shard that I send the updates to. -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-4-1-Custom-Hashing-DIH-tp4036316p4036332.html

Re: Solr 4.1 Custom Hashing DIH

2013-01-25 Thread davers
I am using the coreadmin to assign nodes to the cluster. How can I tell the collection how many shards it has without using the collections api or boostrapping -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-4-1-Custom-Hashing-DIH-tp4036316p4036340.html Sent from the

Re: Solr 4.1 Custom Hashing DIH

2013-01-25 Thread davers
Ok that worked thank you! Now it seems like it is still using the default hashing function. I put this in my solrconfig.xml under the config tag shardKeyParserFactory class=org.apache.solr.common.cloud.CompositeIdShardKeyParser str name=clausegroupid/str bool

Re: Solr 4.1 Custom Hashing DIH

2013-01-25 Thread davers
I'm not sure I understand. I thought ID had to be unique. for example I have the following [ { id : 1, groupid : 1 }, { id : 2, groupid : 1}, { id : 3 groupid : 2 } ] How would I currently ensure that id 1 2 end up on the same shard using the ID ? -- View this message in context:

Solr cloud not starting properly. Only starts leaders.

2013-01-07 Thread davers
Every time I stop my SolrCloud (3 shards, 1 replica each, total 6 servers) and then restart it I get the following error: SEVERE: Error getting leader from zk org.apache.solr.common.SolrException: Could not get leader props at

Re: Solr Collection API doesn't seem to be working

2013-01-03 Thread davers
Yes that is exactly what I was hoping for. I can live with just adding nodes manually for now. Would be nice if this feature was included in 4.1 though as I will be waiting for the 4.1 release to make the jump to SolrCloud. -- View this message in context:

SolrCloud Commit issues

2013-01-03 Thread davers
I am having issues any time I add documents or delete documents. The issue is that the log is reporting that the commit is happening but when I search after the commit I get no change in the result set. It's only after I manually commit again that I can see the new results. For example I have a

Solr Cloud with external zookeeper ensemble not starting

2013-01-02 Thread davers
When I try to start a solr server in my solr cloud I am receiving the error: SEVERE: null:org.apache.solr.common.SolrException: org.apache.zookeeper.server.quorum.QuorumPeerConfig$ConfigException: Error processing /srv/solr//zoo.cfg But I don't understand why I would need zoo.cfg in solr/home

Re: Solr Collection API doesn't seem to be working

2013-01-02 Thread davers
This is what I get from the leader overseer log: 2013-01-02 18:04:24,663 - INFO [ProcessThread:-1:PrepRequestProcessor@419] - Got user-level KeeperException when processing sessionid:0x23bfe1d4c280001 type:create cxid:0x58 zxid:0xfffe txntype:unknown reqpath:n/a Error Path:/overseer

Re: Updating configuration files when using Solr Cloud

2012-12-26 Thread davers
It looks like any changes to configuration files need to be partnered with a rolling restart of the cloud: http://wiki.apache.org/solr/SolrCloud#Example_C:_Two_shard_cluster_with_shard_replicas_and_zookeeper_ensemble ZooKeeper Multiple Zookeeper servers running together for fault tolerance and

Re: SEVER error when stopping tomcat using solr webapp

2012-12-13 Thread davers
The only custom code I have are 3 custom transformers for my DIH. Here is the code. package org.build.com.solr; /** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional