AW: StandardTokenizerFactory behaviour

2012-06-18 Thread Markus Klose
The behaviour of the StandardTokenizerFactory changed with solr 3.1. The actual output is now: "Please", "email", "john.doe", "foo.com", "by", "03", "09", "re", "m37","xq" Viele Grüße aus Augsburg Markus Klose SHI Elektronische Medien GmbH   -Ursprüngliche Nachricht- Von: Alok Bhan

Re: How to update one field without losing the others?

2012-06-18 Thread Sami Siren
On Mon, Jun 18, 2012 at 5:03 PM, Kai Gülzau wrote: > I'm currently playing around with a branch 4x Version > (https://builds.apache.org/job/Solr-4.x/5/) but I don't get field updates to > work. > > A simple GET testrequest > http://localhost:8983/solr/master/update/json?stream.body={"add":{"doc"

Re: StandardTokenizerFactory behaviour

2012-06-18 Thread Alok Bhandari
Just to make sure that there is no ambiguity the In: "Please, email john@foo.com by 03-09, re: m37-xq." is the input given to this field for indexing and the Expected Out: "Please", "email", "john@foo.com", "by", "03-09", "re", "m37-xq" is expected output tokens. -- View this message in

StandardTokenizerFactory behaviour

2012-06-18 Thread Alok Bhandari
Hello , I am working on Solr from last few months and stuck some where , Analyzer in Field Definition : -- In: "Please, email john@foo.com by 03-09, re: m37-xq." Expected Out: "Please", "email", "john@foo.com", "by", "03-09", "re", "m37-xq" but not getting this. Is something wro

Re: SolrCloud and split-brain

2012-06-18 Thread Mark Miller
> > So then the Q becomes: if we have 10 ZK nodes and they split in 5 & 5 > nodes, does that mean neither side will have quorum because having 10 ZKs > was a bad number of ZKs to have to begin with? Right - from the ZooKeeper admin guide, under Clustered Setup: "Because Zookeeper requires a majo

Re: SolrCloud and split-brain

2012-06-18 Thread Otis Gospodnetic
Hi Mark, Thanks.  All that is clear (I think Voldemort does a good job with hinted handoff, which I think Mark is referring to). The part that I'm not clear about is maybe not SolrCloud-specific, and that is - what exactly prevents the two halves of a cluster that's been split from thinking the

Re: WordBreak and default dictionary crash Solr

2012-06-18 Thread Carrie Coy
On 06/15/2012 05:16 PM, Dyer, James wrote: I'm pretty sure you've found a bug here. Could you tell me whether you're using a build from Trunk or Solr_4x ? Also, do you know the svn revision or the Jenkins build # (or timestamp) you're working from? I continued to see the problem after updatin

Re: SolrCloud non-distributed indexing (update.chain)

2012-06-18 Thread Mark Miller
I think this was changed by https://issues.apache.org/jira/browse/SOLR-2822 Add NoOpDistributingUpdateProcessorFactory to your chain to avoid distrib update 'action' being auto injected. - Mark Miller lucidimagination.com On Jun 18, 2012, at 8:10 AM, Boon Low wrote: > Hi, > > What's happening

Re: SolrCloud and split-brain

2012-06-18 Thread Mark Miller
On Jun 15, 2012, at 10:33 PM, Otis Gospodnetic wrote: > However, if my half brain understands what split brain is then I think that's > not a completely true claim because one can get unlucky and get a SolrCloud > cluster partitioned in a way that one or even all partitions reject indexing > (

Re: StreamingUpdateSolrServer Connection Timeout Setting

2012-06-18 Thread Torsten Krah
You should also call the glue code ;-): Protocol.registerProtocol("http", http); regards Torsten smime.p7s Description: S/MIME cryptographic signature

RE: How to update one field without losing the others?

2012-06-18 Thread Kai Gülzau
I'm currently playing around with a branch 4x Version (https://builds.apache.org/job/Solr-4.x/5/) but I don't get field updates to work. A simple GET testrequest http://localhost:8983/solr/master/update/json?stream.body={"add":{"doc":{"ukey":"08154711","type":"1","nbody":{"set":"mycontent"

Re: Lock error when indexing with curl

2012-06-18 Thread Heike Grimm
harun sahiner gmail.com> writes: > > Hi, > > i have a similar "lock" error. Did you find any solution ? > > -- > View this message in context: http://lucene.472066.n3.nabble.com/Lock-error-when-indexing-with-curl-tp480958p3403119.html > Sent from the Solr - User mailing list archive at Nabbl

Re: delete by query don't work

2012-06-18 Thread Toke Eskildsen
On Mon, 2012-06-18 at 11:45 +0200, ramzesua wrote: > Hi all. I am using solr 4.0 and trying to clear index by query. At first I > use *:* with commit, but index is still not > empty. I tried another queries, but it not help me. Then I tried delete by > `id`. It works fine, but I need clear all inde

Re: SolrCloud and split-brain

2012-06-18 Thread Sami Siren
On Sat, Jun 16, 2012 at 5:33 AM, Otis Gospodnetic wrote: > And here is one more Q. > * Imagine a client is adding documents and, for simplicity, imagine SolrCloud > routes all these documents to the same shard, call it S. > * Imagine that both the 7-node and the 3-node partition end up with a >

Re: StreamingUpdateSolrServer Connection Timeout Setting

2012-06-18 Thread Torsten Krah
AddOn: You can even set a custom http factory for commons-http (which is used by SolrStreamingUpdateServer) at all to influence socket options, example is: final Protocol http = new Protocol("http", MycustomHttpSocketFactory.getSocketFactory(), 80); and MycustomHttpSocketFactory.getSocketFactory

Re: StreamingUpdateSolrServer Connection Timeout Setting

2012-06-18 Thread Torsten Krah
Am Freitag, den 15.06.2012, 18:22 +0100 schrieb Kissue Kissue: > Hi, > > Does anybody know what the default connection timeout setting is for > StreamingUpdateSolrServer? Can i explicitly set one and how? > > Thanks. Use a custom HttpClient to set one (only snippets, should be clear, if not tel

SolrCloud non-distributed indexing (update.chain)

2012-06-18 Thread Boon Low
Hi, What's happening to the update.chain of SolrCloud? I am running SolrCloud (compiled from trunk today) with an update.chain pointing to an updateRequestProcessorChain in solrconfig which omits the DistributedUpdateProcessorFactory, so that indexing can be done on specific shards (not distri

Re: Exception when optimizing index

2012-06-18 Thread Michael McCandless
Is it possible the Linux machine has bad RAM / bad disk? Mike McCandless http://blog.mikemccandless.com On Mon, Jun 18, 2012 at 7:06 AM, Erick Erickson wrote: > Is it possible that you somehow have some problem with jars and classpath? > I'm wondering because this problem really seems odd, and

Re: delete by query don't work

2012-06-18 Thread Erick Erickson
Well, it would help if you defined what behavior you're seeing. When you say delete-by-query doesn't work, what is the symptom? What does "empty" mean? Because if you're just looking at your index directory and expecting to see files disappear, you'll be disappointed. When you delete documents in

Re: Exception when optimizing index

2012-06-18 Thread Erick Erickson
Is it possible that you somehow have some problem with jars and classpath? I'm wondering because this problem really seems odd, and you've eliminated a bunch of possibilities. I'm wondering if you've somehow gotten some old jars mixed in the bunch. Or, alternately, what about re-installing Solr on

delete by query don't work

2012-06-18 Thread ramzesua
Hi all. I am using solr 4.0 and trying to clear index by query. At first I use *:* with commit, but index is still not empty. I tried another queries, but it not help me. Then I tried delete by `id`. It works fine, but I need clear all index. Can anyone help me? -- View this message in context:

Re: Exception when optimizing index

2012-06-18 Thread Rok Rejc
Hi all, during the last days, I have create solr instance on a windows environment - same Solr as on the linux machine (solr 4.0 from 9th June 2012), same solr configurations, Tomcat 6, Java 6u23. I have also upgraded Java on the linux machine (1.7.0_05-b05 from Oracle). Import and optimize on th