Re: modeling multiple values on 1:n connection

2013-06-22 Thread Gora Mohanty
On 23 June 2013 01:31, Mysurf Mail wrote: > I try to model my db using > thisexample > from solr wiki. > > I have a table called item and a table called features with > id,featureName,description > > here is the updated xml (added

Re: Sharding and Replication

2013-06-22 Thread Asif
Erick, Its a completely practical problem - we are exploring Solr to build a real time analytics/data solution for a system handling about 1000 qps. We have various metrics that are stored as different collections on the cloud, which means very high amount of writes. The cloud also needs to suppor

Re: solrcloud 4.3.1 - stability and failure scenario questions

2013-06-22 Thread Shalin Shekhar Mangar
Use shards.tolerant=true to return documents that are available in the shards that are still alive. Typically people setup ZooKeeper outside of Solr so that solr nodes can be added/removed easily independent of ZooKeeper plus it isolates ZK from large GC pauses due to Solr's garbage. See http://wi

modeling multiple values on 1:n connection

2013-06-22 Thread Mysurf Mail
I try to model my db using thisexample from solr wiki. I have a table called item and a table called features with id,featureName,description here is the updated xml (added featureName)

Does SolrCloud require matching configuration files?

2013-06-22 Thread Lance Norskog
Accumulo is a BigTable/Cassandra style distributed database. It is now an Apache Incubator project. In the README we find this gem: "Synchronize your accumulo conf directory across the cluster. As a precaution against mis-configured systems, servers using different configuration files will not

Re: Wildcards and Phrase queries

2013-06-22 Thread Isaac Hebsh
Thanks Erick. Maybe lucene (java-user) is a better mailing list to ask in? On Sat, Jun 22, 2013 at 7:30 AM, Erick Erickson wrote: > Wouldn't imagine they're production ready, they haven't been touched > in months. > > So I'd say you're on your own here in terms of whether you wanted > to use the

Re: solrcloud 4.3.1 - stability and failure scenario questions

2013-06-22 Thread Utkarsh Sengar
Thanks Anshum. Sure, creating a replica will make it failure resistant, but death of one shard should not make the whole cluster unusable. 1/3rd of the keys hosted in the killed shard should be unavailable but others should be available. Right? Also, any suggestions on the recommended size of

Re: Sharding and Replication

2013-06-22 Thread Erick Erickson
Yeah, there's been talk of making this configurable, but there are more pressing priorities so far. So just to be clear, is this theoretical or practical? I know of several very high-performance situations where 1,000 updates/sec (and I'm assuming that it's 1,000 docs/sec not 1,000 batches of 1,00

Re: Get all values from a field

2013-06-22 Thread Erick Erickson
Another option is to use the TermsComponent that will give you the list as well. Be aware of one thing, with either suggestion you get the _terms_ in the index, _after_ all the tokenizing and filtering. You do not get exactly what you input. For instance, if your original input was "Organism" and

Re: Solr 4.2 in SolrCloud mode lost response for update but search is normal

2013-06-22 Thread Erick Erickson
Hmmm, shouldn't have come back unless you're using transient cores and opening/closing them, are you? You have to define transient="true" in your definitions in solr.xml, and have the number of cores be less than the transientCacheSize for this to manifest itself. And you shouldn't be seeing this

Re: PostingsSolrHighlighter not working on Multivalue field

2013-06-22 Thread Erick Erickson
Unfortunately, from here I need to leave it to people who know the highlighting code Erick On Wed, Jun 19, 2013 at 8:40 PM, Floyd Wu wrote: > Hi Erick, > > "multivalue" is my typo, thanks for your reminding. > > There is no log show anything wrong or exception occurred. > > The field definit

how to fetch qyery feild + other feild related results in Lucene3.6

2013-06-22 Thread neeraj shah
Hello, Im using Lucene 3.6.2. and my file, which i indexed ,is something like this : FIELD-1 FIELD-2 FIELD-3 FIELD-4 DOC1: A ABC DOC2: B ABC DOC3: C ABC DOC4: D ABC DOC5: E WWW ABC DOC6: F DEF DOC7: G DEF DOC8: H D

Re: Adding documents in Solr plugin

2013-06-22 Thread Upayavira
On Sat, Jun 22, 2013, at 03:40 AM, Chris Hostetter wrote: > > : This could be a very useful feature. To do it properly, you'd want some > : new update syntax, extending that of the atomic updates. That is, a new > : custom request handler could do it, but might now be the best way. > > the bigg

Re: solrcloud 4.3.1 - stability and failure scenario questions

2013-06-22 Thread Anshum Gupta
You need to have at least 1 replica from each shard for the SolrCloud setup to work for you. When you kill 1 shard, you essentially are taking away 1/3 of the range of shard key. On Sat, Jun 22, 2013 at 4:31 PM, Utkarsh Sengar wrote: > Hello, > > I am testing a 3 node solrcloud cluster with 3 sh

Re: solrcloud 4.3.1 - stability and failure scenario questions

2013-06-22 Thread Utkarsh Sengar
Just to be clear here, I when I say "I killed a node". I just killed the solr process on that node. zk on all the 3 nodes were still running. Thanks, -Utkarsh On Sat, Jun 22, 2013 at 4:01 AM, Utkarsh Sengar wrote: > Hello, > > I am testing a 3 node solrcloud cluster with 3 shards. 3 zk nodes ar

solrcloud 4.3.1 - stability and failure scenario questions

2013-06-22 Thread Utkarsh Sengar
Hello, I am testing a 3 node solrcloud cluster with 3 shards. 3 zk nodes are running in a different process in the same machines. I wanted to know the recommended size of a solrcloud cluster (min zk nodes?) This is the SolrCloud dump: https://gist.github.com/utkarsh2012/5840455 And, I am not su

Re: what does a zero score mean?

2013-06-22 Thread Upayavira
Does nutch provide a boost value for a document? Can you intercept that? I can't see how length normalisation would be zero. Even a very long field would have a non-zero value. You can also add omitNorms to a field. A hack that avoids fixing the true cause and prevents field length normalisation