atomic updates fail with solrcloud , and real time get throwing NPE

2013-03-03 Thread mike st. john
atomic updates are failing in solrcloud , unless the update is sent to the shard where the doc resides. Real time get is throwing NPE when run without distrib=false tried with 4.1 and 4.2 snapshot. Any ideas? Thanks. msj

Re: Backtick character in field values, and results

2013-03-03 Thread Shawn Heisey
On 2/28/2013 5:39 AM, Erick Erickson wrote: ICUFoldingFilterFactory is "folding" the backtick (grave accent). See admin/analysis page, it's a lifesaver in these situations! Is this the way it's supposed to behave? From what I could tell in my look at the analysis page, it is folding the back

Re: Backtick character in field values, and results

2013-03-03 Thread Neelesh
Thank you! This saved me a lot of trouble! On Thu, Feb 28, 2013 at 4:39 AM, Erick Erickson wrote: > ICUFoldingFilterFactory is "folding" the backtick (grave accent). > > See admin/analysis page, it's a lifesaver in these situations! > > Best > Erick > > > On Fri, Feb 22, 2013 at 3:46 PM, Neelesh

Re: What makes an Analyzer/Tokenizer/CharFilter/etc suitable for Solr?

2013-03-03 Thread Alexandre Rafalovitch
Thanks Jack. On Thu, Feb 28, 2013 at 11:04 PM, Jack Krupansky wrote: > The package Javadoc for Solr analysis is a good start: > > http://lucene.apache.org/solr/**4_1_0/solr-core/org/apache/** > solr/analysis/package-tree.**html

Re: From a high level query call, tell Solr / Lucene to automatically apply a leaf operator?

2013-03-03 Thread Mark Bennett
Hi Mikhail, Thanks for the links, looks like interesting stuff. Sadly this project is stuck in 3.x for some very thorny reasons... Googling around, looks like this might be strictly 4.x... On Mon, Feb 25, 2013 at 12:21 PM, Mikhail Khludnev < mkhlud...@griddynamics.com> wrote: > Mark, > > AFAIK

Re: ping query frequency

2013-03-03 Thread Amit Nithian
We too run a ping every 5 seconds and I think the concurrent Mark/Sweep helps to avoid the LB from taking a box out of rotation due to long pauses. Either that or I don't see large enough pauses for my LB to take it out (it'd have to fail 3 times in a row or 15 seconds total before it's gone). The

Making tika process mail attachments eludes me

2013-03-03 Thread Leif Hetlesæther
Been trying for a while to create an index of a mailbox. I have downloaded solr-4.1.0.tgz, configured example/example-DIH/solr/mail/conf/data-config.xml and emails are indexed, but the attachmens eludes me. The config says: "Note - In order to index attachments, set processAttachement="true" an

Re: create cores dynamically

2013-03-03 Thread Shawn Heisey
On 3/3/2013 12:08 PM, adeelmahmood wrote: Well this is all useful information but not sure if it really answers my question. Let me rephrase what exactly I am trying to do. Lets say I start with core0 so this is how the directory structure looks like solr.home -> solr.xml -> core0 -> conf

Re: create cores dynamically

2013-03-03 Thread adeelmahmood
Well this is all useful information but not sure if it really answers my question. Let me rephrase what exactly I am trying to do. Lets say I start with core0 so this is how the directory structure looks like solr.home -> solr.xml -> core0 -> conf -> data now when I want to dynamically add co

Re: create cores dynamically

2013-03-03 Thread Shawn Heisey
On 3/2/2013 8:18 PM, adeelmahmood wrote: I am not sure if I understand how the creating cores dynamically functionality is supposed to work. From what I have sort of figured out is that I need to specify the instanceDir as the path to a directory which contains the conf file. So I have directory

Re: ping query frequency

2013-03-03 Thread Shawn Heisey
On 3/3/2013 2:15 AM, adm1n wrote: I'm wonderring how frequent this query should be made. Currently it is done before each select request (some very old legacy). I googled a little and found out that it is bad practice and has performance impact. So the question is should I completely remove it or

Re: cant' execute query in solr 4.1 admin page

2013-03-03 Thread Stefan Matheis
Hey Already documented and fixed for 4.2: https://issues.apache.org/jira/browse/SOLR-4349 Stefan On Sunday, March 3, 2013 at 8:15 AM, adfel70 wrote: > Hi > I used to execute queries in solr admin page for testing purposes. > I updated to solr 4.1 and it seems this feature is not working. > I

Re: cant' execute query in solr 4.1 admin page

2013-03-03 Thread Shawn Heisey
On 3/3/2013 12:15 AM, adfel70 wrote: I used to execute queries in solr admin page for testing purposes. I updated to solr 4.1 and it seems this feature is not working. I can see that the query is always sent without and query parameter. This sounds like this bug: https://issues.apache.org/jira

advice on a backup service of solr collection

2013-03-03 Thread adfel70
Hi, I want to write a component that will protect solr cluster from indexing damage. The component will take down a replica from each shard ("backup replicas"), before indexing. Then the indexing will start. When the indexing is finished, some tests will be performed and only if they pass, the back

Re: Returning to Solr 4.0 from 4.1

2013-03-03 Thread Dotan Cohen
On Sat, Mar 2, 2013 at 9:32 PM, Upayavira wrote: > What I'm questioning is whether the issue you see in 4.1 has been > resolved in Subversion. While I would not expect 4.0 to read a 4.1 > index, the SVN branch/4.2 should be able to do so effortlessly. > > Upayavira > I see, thanks. Actually, runn

Re: create cores dynamically

2013-03-03 Thread Jilal Oussama
For me, it always creates the data dir next to the conf dir I specified (this should depend on your core configuration) and load the core into solr (and I think this is what it is suposed to do) On Mar 3, 2013 3:18 AM, "adeelmahmood" wrote: > I am not sure if I understand how the creating cores d

ping query frequency

2013-03-03 Thread adm1n
Hi, I'm wonderring how frequent this query should be made. Currently it is done before each select request (some very old legacy). I googled a little and found out that it is bad practice and has performance impact. So the question is should I completely remove it or just do it once in some perio