Re: SolrCloud vs Solr master-slave replication

2013-04-18 Thread Victor Ruiz
Also, I forgot to say... the same error started to happen again.. the index is again corrupted :( -- View this message in context: http://lucene.472066.n3.nabble.com/SolrCloud-vs-Solr-master-slave-replication-tp4055541p4056926.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: SolrCloud vs Solr master-slave replication

2013-04-18 Thread Victor Ruiz
Thank you again for your answer Shawn. Network card seems to work fine, but we've found segmentation faults, so now our hosting provider is going to run a full hw check. Hopefully they'll replace the server and problem wil be solved Regards, Victor -- View this message in context: http://l

Re: SolrCloud vs Solr master-slave replication

2013-04-15 Thread Victor Ruiz
Hi Shawn, thank you for your reply. I'll check if network card drivers are ok. About the RAM, the JVM max heap size is currently 6GB, but it never reaches the maximum, tipically the used RAM is not more than 5GB. should I assign more RAM? I've read that excess of RAM assigned could have also a b

SolrCloud vs Solr master-slave replication

2013-04-12 Thread Victor Ruiz
Hi, I've just posted this week an issue today with our Solr index: http://lucene.472066.n3.nabble.com/corrupted-index-in-slave-td4054769.html, Today, that error started to happen constantly for almost every request, and I created a JIRA issue becaue I thought it was a bug https://issues.apache.or

Re: corrupted index in slave?

2013-04-09 Thread Victor Ruiz
sorry I forgot to say, the exceptions are not for every document, but only for a few... regards, Victor Victor Ruiz wrote > Hi guys, > > I'm getting exceptions in a Solr slave, when accessing TermVector > component and RealTimeGetHandler. The weird thing is, that in the maste

corrupted index in slave?

2013-04-09 Thread Victor Ruiz
Hi guys, I'm getting exceptions in a Solr slave, when accessing TermVector component and RealTimeGetHandler. The weird thing is, that in the master and in one of the 2 slaves, the documents are ok, and the same query doesnt return any exception. For now, the only way I have to solve the problem is

Re: Search data who does not have "x" field

2013-04-09 Thread Victor Ruiz
Sorry, I didnt explain my self good, I mean , you have to create an additional field 'hasCategory' in your schema, and then, before indexing, set the field 'hasCategory' in the indexed document as true, if your document has categories, or set it to false, if it has any. With this you will save comp

Re: Solr replication takes long time

2013-03-13 Thread Victor Ruiz
While looking at Solr logs, I found a java.lang.OutOfMemoryError: Java heap space that was happening 2 times per hour So I tried to increase the max memory heap assigned to JVM (-Xmx) and since then the servers are not crashing, even though the replication takes still long time to complete. But f

Re: Search data who does not have "x" field

2013-03-13 Thread Victor Ruiz
add this to your query, or filter query: q=&fq=-category:[* TO *] another solution would be to add a boolean field, hasCategory, and use it for filtering q=&fq=hasCategory:true Victor anurag.jain wrote > Hi all, > > I am facing a problem. > > Problem is: > > I have updated 250 data t

Re: Solr replication takes long time

2013-03-13 Thread Victor Ruiz
After upgrading to 4.2, the problem is not yet solved, in this image you can see, how slow is the transfer speed. At least, after the update the master is not blocked during replication Any idea? -- View this message in co

Re: Solr replication takes long time

2013-03-11 Thread Victor Ruiz
couple issues as well - a couple > things that were discovered while writing stronger tests for 4.2. > > 4.2 is spreading onto mirrors now. > > - Mark > > On Mar 11, 2013, at 2:00 PM, Victor Ruiz < > bik1979@ > > wrote: > >> no, Solr 4.0.0, I want

Re: Solr replication takes long time

2013-03-11 Thread Victor Ruiz
no, Solr 4.0.0, I wanted to update to Solr 4.1 but I read that there was an issue with the replication, so I decided not to try it for now Mark Miller-3 wrote > Are you using Solr 4.1? > > - Mark > > On Mar 11, 2013, at 1:53 PM, Victor Ruiz < > bik1979@ > > wro

Solr replication takes long time

2013-03-11 Thread Victor Ruiz
Hi guys, I have a problem with Solr replication. I have 2 solr servers (Solr 4.0.0) 1 master and 1 slave (8 processors,16GB RAM ,Ubuntu 11, ext3, each). In every server, there are 2 independent instances of solr running (I tried also multicore config, but having independent instances has for me

MoreLikeThis boosted by Date

2013-03-04 Thread Victor Ruiz
Hi, In my Solr config I have a request handler that boosts newer items, using date field: true 10 itemid,score {!boost b=$bf v=$qq}