http://localhost:8983/solr/doc1/select?q=text:()&debugQuery=on&defType=lucene
I get this error:
org.apache.solr.search.SyntaxError: Cannot parse 'text:()': Encountered "
")" ") "" at line 1, column 6. Was expecting one of: ... "+" ... "-"
... ... "(" ... "*" ... ... ... ...
... ... "[" ...
s why you see "and" included in the parsed query as if it
> were a term. And I believe it turns "text:()" into "text:"()"", which makes
> the original Lucene error go away, but the "()" analyzes to nothing and
> generates no term
ax because it isn't a valid lucene
> query.
>
> What do you 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
> *]
>
> Up
at 4:34 AM, Erick Erickson wrote:
> Please post the results of adding &debug=query to the URL.
> That'll tell us what the query parser spits out which is much
> easier to analyze.
>
> Best
> Erick
>
> On Wed, May 22, 2013 at 12:16 PM, 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 here
collection if
> > collection.configName=seconfConf doesnt work.
>
> > any idea?
>
> > thanks.
>
>
>
> > --
> > View this message in context:
> >
> http://lucene.472066.n3.nabble.com/solr-4-1-trying-to-create-2-collection-with-2-diffe
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 wrote:
> On 2/21/2013 9:50 PM, Shankar Sundararaju wrote:
>
>> I am using
des and launch them? Do I have 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.
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