Parallel indexing and swapping

2013-02-20 Thread Shankar Sundararaju
Hi All, I am using Solr 4.1. I have a Solr cluster of 3 leaders and 3 replicas hosting collection1 consisting of thousands of documents currently serving the search requests. I would like re-index all the documents in another collection, say collection2 in this same solr cluster and swap it with

How do I create two collections on the same cluster?

2013-02-21 Thread Shankar Sundararaju
to get the configs for collection2 uploaded to zookeeper before I launch the nodes? Thanks in advance. -Shankar -- Regards, *Shankar Sundararaju *Sr. Software Architect ebrary, a ProQuest company 410 Cambridge Avenue, Palo Alto, CA 94306 USA shan...@ebrary.com | www.ebrary.com | 650-475-8776 (w

Re: How do I create two collections on the same cluster?

2013-02-22 Thread Shankar Sundararaju
Thank you Shawn. Neither using ip address nor maxShardsPerNode=1 has any effect. Let me try few other things today and I'll get back to you. -Shankar On Thu, Feb 21, 2013 at 9:05 PM, Shawn Heisey s...@elyograg.org wrote: On 2/21/2013 9:50 PM, Shankar Sundararaju wrote: I am using Solr 4.1

Re: solr 4.1 - trying to create 2 collection with 2 different sets of configurations

2013-02-28 Thread Shankar Sundararaju
.html Sent from the Solr - User mailing list archive at Nabble.com. -- Regards, *Shankar Sundararaju *Sr. Software Architect ebrary, a ProQuest company 410 Cambridge Avenue, Palo Alto, CA 94306 USA shan...@ebrary.com | www.ebrary.com | 650-475-8776 (w) | 408-426-3057 (c)

Can anyone explain this Solr query behavior?

2013-05-22 Thread Shankar Sundararaju
This query returns 0 documents: *q=(+Title:() +Classification:() +Contributors:() +text:())* This returns 1 document: *q=doc-id:3000* And this returns 631580 documents when I was expecting 0: *q=doc-id:3000 AND (+Title:() +Classification:() +Contributors:() +text:())* Am I missing something

Re: Can anyone explain this Solr query behavior?

2013-05-23 Thread Shankar Sundararaju
, Shankar Sundararaju shan...@ebrary.com wrote: This query returns 0 documents: *q=(+Title:() +Classification:() +Contributors:() +text:())* This returns 1 document: *q=doc-id:3000* And this returns 631580 documents when I was expecting 0: *q=doc-id:3000 AND (+Title:() +Classification

Re: Can anyone explain this Solr query behavior?

2013-05-24 Thread Shankar Sundararaju
expect text:() to do? If you want to match any docs that have a value in the text field, use q=text:[* TO *] To match docs that *don't* have a value in the text field: q=-text[* TO *] Upayavira On Fri, May 24, 2013, at 12:23 AM, Shankar Sundararaju wrote: Hi Erick, Here's the output

Re: Can anyone explain this Solr query behavior?

2013-05-24 Thread Shankar Sundararaju
should go away. -- Jack Krupansky -Original Message- From: Shankar Sundararaju Sent: Thursday, May 23, 2013 7:23 PM To: solr-user@lucene.apache.org Subject: Re: Can anyone explain this Solr query behavior? Hi Erick, Here's the output after turning on the debug flag: *q=text

What is wrong with this blank query?

2013-06-12 Thread Shankar Sundararaju
http://localhost:8983/solr/doc1/select?q=text:()debugQuery=ondefType=lucene I get this error: org.apache.solr.search.SyntaxError: Cannot parse 'text:()': Encountered ) ) at line 1, column 6. Was expecting one of: NOT ... + ... - ... BAREOPER ... ( ... * ... QUOTED ... TERM ... PREFIXTERM ...