Re: Trigger event on change of a field in a document

2014-01-05 Thread Jorge Luis Betancourt González
With custom UpdateRequestProcessor this would be doable, but depending on when this event will be listened, perhaps Otis is right. - Original Message - From: "Utkarsh Sengar" To: solr-user@lucene.apache.org Sent: Friday, December 27, 2013 7:29:40 PM Subject: Re: Trigger event on change o

PathHierarchyTokenizerFactory storage for pivot facets

2014-01-05 Thread Stephan Schubert
I want to store the levels of an path/url in seperate fields to make use of pivot faceting. I thought about using the PathHierarchyTokenizerFactory for that. But how can I store the several levels of an url in seperate fields? Example: Doc1 - Path: a/b/c/d Doc2 - Path: f/g/h/i Document 1 should

Re: Solr use with Cloudera HDFS failed creating directory

2014-01-05 Thread Mark Miller
Yup - sounds right. Previous releases were not built against hadoop 2 GA, but whatever was available at the time (the beta release, etc). You can only be sure things will work right with the version we build against, though often things should work with other versions depending on what has chan

Re: Solr maxIndexingThreads

2014-01-05 Thread Otis Gospodnetic
Yes, I believe you got it right. Otis -- Performance Monitoring * Log Analytics * Search Analytics Solr & Elasticsearch Support * http://sematext.com/ On Sun, Jan 5, 2014 at 5:27 PM, Saumitra Srivastav < saumitra.srivast...@gmail.com> wrote: > Yes, I am using SolrCloud. > > So lets say I have a

Re: Solr use with Cloudera HDFS failed creating directory

2014-01-05 Thread Gopal Patwa
I gave another try with Solr 4.4 which ship with Cloudera VM as Cloudera Search but same result. It seems there is compitability issue with protobuf library dependecy in haddop java client and HDFS server it self. Solr 4.4 depend on protobuf-java-2.4.0a.jar Solr 4.6 depend on protobuf-java-2.5.0.

Re: Solr maxIndexingThreads

2014-01-05 Thread Saumitra Srivastav
Yes, I am using SolrCloud. So lets say I have a 2 host cluster with 2 collections and 1 shard 1 replica for each collection. Host-1(10.0.0.111) -solr/ -collectionAAA_shard1_replica1/ -collectionBBB_shard1_replica1/ Host-2:(10.0.0.222) -solr/ -collection

Re: Tracking down the input that hits an analysis chain bug

2014-01-05 Thread Michael Sokolov
I think you do (or can) get a log message for each document insert? If that's all you need, I think logging configuration will get you there. I use log4j and turn Solr's pretty verbose logging off using: log4j.logger.org.apache.lucene.solr = WARN assuming the rest of log4j is set up OK, I th

Re: Solr maxIndexingThreads

2014-01-05 Thread Otis Gospodnetic
Hi, On Sun, Jan 5, 2014 at 9:59 AM, Saumitra Srivastav < saumitra.srivast...@gmail.com> wrote: > I have a solr cluster with 8 server(4 shards with one replica for each). I > have 80 client threads indexing to this cluster. Client is running on a > different machine. I am trying to figure out opti

Re: Solr maxIndexingThreads

2014-01-05 Thread Shawn Heisey
On 1/5/2014 11:56 AM, Saumitra Srivastav wrote: > But what about *maxIndexingThreads* config in solrconfig.xml. Does it apply > to the the collection or solr instance? > > For example, lets say I have two indexing clients with multiple threads, > each sending docs to 2 different collections. And

Re: Solr maxIndexingThreads

2014-01-05 Thread Saumitra Srivastav
Thanks Shawn. But what about *maxIndexingThreads* config in solrconfig.xml. Does it apply to the the collection or solr instance? For example, lets say I have two indexing clients with multiple threads, each sending docs to 2 different collections. And maxIndexingThreads is set to 8 for both col

Re: Solr maxIndexingThreads

2014-01-05 Thread Shawn Heisey
On 1/5/2014 9:19 AM, Saumitra Srivastav wrote: > Also is there a way to specify number of threads for queries? I have not seen anything like this. That doesn't mean it doesn't exist, just that I haven't seen it. The servlet container can put a limit on the total thread count. For the Jetty that

Solr maxIndexingThreads

2014-01-05 Thread Saumitra Srivastav
I have a solr cluster with 8 server(4 shards with one replica for each). I have 80 client threads indexing to this cluster. Client is running on a different machine. I am trying to figure out optimal number of indexing threads. Now, solrconfig.xml have a config for *maxIndexingThreads*: "The maxi

Re: custom updateHandler

2014-01-05 Thread itzikgili
I am facing the same issue! if i want to write some code to do the job what should i do? all you have in the link u provided is the config section of the job. -- View this message in context: http://lucene.472066.n3.nabble.com/custom-updateHandler-chain-tp4109153p4109613.html Sent from the Solr

Re: Solr maxIndexingThreads

2014-01-05 Thread Saumitra Srivastav
Also is there a way to specify number of threads for queries? -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-maxIndexingThreads-tp4109604p4109612.html Sent from the Solr - User mailing list archive at Nabble.com.

Solr maxIndexingThreads

2014-01-05 Thread Saumitra Srivastav
I have a solr cluster with 8 server(4 shards with one replica for each). I have 80 client threads indexing to this cluster. Client is running on a different machine. I am trying to figure out optimal number of indexing threads. Now, solrconfig.xml have a config for *maxIndexingThreads*: "The maxi