Zookeeper could not read dataimport.properties

2013-09-21 Thread Prasi S
Hi, Im using solr 4.4 cloud setup with external zookeeper and solr running in tomcat. For the initial indexing, i use csv files to load data to solr. Then we do delta indexing from database table. My zookeeper always thorws exception saying could not read dataimport.properties. Where should we

Atomic updates with solr cloud in solr 4.4

2013-09-21 Thread Sesha Sendhil Subramanian
Hi, I am using solr 4.4 with 2 shards and 2 collections per shard, search and meta. I started the shards specifying numShards and have checked that the router used is the compositeId router. Distributed indexing is done based on ids sharing the same domain/prefix, i.e. 'customerB!' form and

Re: java.lang.LinkageError when using custom filters in multiple cores

2013-09-21 Thread Alexandre Rafalovitch
Did you try latest solr? There was a library loading bug with multiple cores. Not a perfect match to your description but close enough. Regards, Alex On 21 Sep 2013 02:28, Hayden Muhl haydenm...@gmail.com wrote: I have two cores favorite and user running in the same Tomcat instance. In

Re: Cause of NullPointer Exception? (Solr with Spring Data)

2013-09-21 Thread Furkan KAMACI
Your solr server may not bet working correctly. You should give us information about your solr logs instead of Spring. Can you reach Solr admin page? 20 Eylül 2013 Cuma tarihinde JMill apprentice...@googlemail.com adlı kullanıcı şöyle yazdı: I am unsure about the cause of the following

Re: Cause of NullPointer Exception? (Solr with Spring Data)

2013-09-21 Thread JMill
I am able to reach http://localhost:8983/solr/#/ Here is the Log Content. It not much. Time Level Logger Message 12:38:47 WARN SolrCore [collection1] Solr index directory '/usr/local/Cellar/solr/4.4.0/libexec/example/solr/collection1/data/index' doesn't exist. Creating new index.. On Sat,

Re: searching within documents

2013-09-21 Thread Nutan
I have been trying to resolve the problem of searching within doc,it wasnt working so I thought of installing solr on other system.I followed the same process-to install tomcat-create solr-home folder-solr.xml-then I get the homepage(admin)of solr and followed Solr cookbook for extracting handler

Re: Atomic updates with solr cloud in solr 4.4

2013-09-21 Thread Yonik Seeley
I can't reproduce this. I tried starting up a 2 shard cluster and then followed the example here: http://yonik.com/solr/atomic-updates/ book1 was on shard2 (port 7574) and everything still worked fine. missing required field: variant_count Perhaps the problem is document specific... What can

Re: requested url solr/update/extract not available on this server

2013-09-21 Thread Nutan
Yes I do get the solr admin page.And im not using the example config file,I have create mine own for my project as required.I have also defined update/extract in solrconfig.xml. On Tue, Sep 17, 2013 at 4:45 AM, Chris Hostetter-3 [via Lucene] ml-node+s472066n409045...@n3.nabble.com wrote: :

Re: searching within documents

2013-09-21 Thread Nutan Shinde
And this works: localhost:8080/solr/select?q=title:solr this gives output as required doc, but localhost:8080/solr/select?q=contents:solr gives num found as 0 This is the new edited schema.xml : schema name=documents fields field name=id type=string indexed=true stored=true required=true

Re: solr atomic updates stored=true, and copyField limitation

2013-09-21 Thread Shawn Heisey
On 9/19/2013 6:47 AM, Tanguy Moal wrote: Quoting http://wiki.apache.org/solr/Atomic_Updates#Caveats_and_Limitations : all fields in your SchemaXml must be configured as stored=true except for fields which are copyField/ destinations -- which must be configured as stored=false For fields

Re: Problem running EmbeddedSolr (spring data)

2013-09-21 Thread Erick Erickson
bq: Caused by: java.lang.NoSuchMethodError: This usually means that you have a mixture of old and new jars around and have compiled against one and are finding the other one in your classpath. Best, Erick On Fri, Sep 20, 2013 at 9:37 AM, JMill apprentice...@googlemail.com wrote: What is the

Re: Need help understanding the use cases behind core auto-discovery

2013-09-21 Thread Erick Erickson
Also consider where SolrCloud is going. Trying to correctly maintain all the solr.xml files yourself on all the nodes would have been...interesting. On all the machines in your 200 node cluster. With 17 different collections. With nodes coming and going. With splitting shards. With.

Re: SolrCloud setup - any advice?

2013-09-21 Thread Erick Erickson
About caches. The queryResultCache is only useful when you expect there to be a number of _identical_ queries. Think of this cache as a map where the key is the query and the value is just a list of N document IDs (internal) where N is your window size. Paging is often the place where this is

Re: requested url solr/update/extract not available on this server

2013-09-21 Thread Erick Erickson
bq: And im not using the example config file It looks like you have not included the request handler in your solrconfig.xml, something like (from the stock distro): !-- Solr Cell Update Request Handler http://wiki.apache.org/solr/ExtractingRequestHandler -- requestHandler

Re: Getting a query parameter in a TokenFilter

2013-09-21 Thread Isaac Hebsh
Thought about that again, We can do this work as a search component, manipulating the query string. The cons are the double QParser work, and the double tokenization work. Another approach which might solve this issue easily is Dynamic query analyze chain:

Re: ReplicationFactor for solrcloud

2013-09-21 Thread Aditya Sakhuja
Thanks Shalin. We used the maxShardsPerNode=3 as you suggest here. On Thu, Sep 12, 2013 at 4:09 AM, Shalin Shekhar Mangar shalinman...@gmail.com wrote: You must specify maxShardsPerNode=3 for this to happen. By default maxShardsPerNode defaults to 1 so only one shard is created per node.

isolating solrcloud instance from peer updates

2013-09-21 Thread Aditya Sakhuja
Hello all, Is there a way to isolate an active solr-cloud instance from all incoming replication update requests from peer nodes ? -- Regards, -Aditya Sakhuja

Re: Need help understanding the use cases behind core auto-discovery

2013-09-21 Thread Trey Grainger
While on this topic... Is it still true in Solr 4.5 (RC) that it is not possible to have a shared config directory? In general, I like the new core.properties mechanism better as it removes the unnecessary centralized configuration of cores in solr.xml, but I have an infrastructure where I have