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

2013-04-09 Thread Victor Ruiz
e it > for filtering > q= > > &fq=hasCategory:true " > > > I am not getting result. > > > i am trying > > localhost:8983/search?q=*:*&fq=category:true > > it is giving zero result. > > by the way first technique is working fine.

Re: New-Question On Search data who does not have "x" field

2013-03-14 Thread Jack Krupansky
:[* TO *]) -- Jack Krupansky -Original Message- From: anurag.jain Sent: Thursday, March 14, 2013 3:48 AM To: solr-user@lucene.apache.org Subject: New-Question On Search data who does not have "x" field My prev question was I have updated 250 data to solr. and some of dat

New-Question On Search data who does not have "x" field

2013-03-14 Thread anurag.jain
egory:"20"; -> output = 2689 http://localhost:8983/search?q=*:*&wt=json&start=0&fq=-category:[* TO *] -> output = 2644684 what is problem ... am i doing some mistakes ?? -- View this message in context: http://lucene.472066.n3.nabble.com/New-Question-On-Search-data-who-does-not-have-x-field-tp4047270.html Sent from the Solr - User mailing list archive at Nabble.com.

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

2013-03-13 Thread anurag.jain
View this message in context: http://lucene.472066.n3.nabble.com/Search-data-who-does-not-have-x-field-tp4046959p4046967.html Sent from the Solr - User mailing list archive at Nabble.com.

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

2013-03-13 Thread Gora Mohanty
On 13 March 2013 17:57, anurag.jain wrote: > Hi all, > > I am facing a problem. [...] > and some of data have "category" field and some of don't have. > > for example. > > > { > "id":"321", > "name":"anurag", > "category":"x" > }, > { > "id":"3", > "name":"john" > } > > > now i want to search that

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

2013-03-13 Thread Victor Ruiz
gt; }, > { > "id":"3", > "name":"john" > } > > > now i want to search that data who does not have that field. > > what query should like. > > > please reply > > It is very urgent - i have to complete this task b

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

2013-03-13 Thread Rafał Kuć
t; { > "id":"3", > "name":"john" > } > now i want to search that data who does not have that field. > what query should like. > please reply > It is very urgent - i have to complete this task by today itself > thanks in advance.

Search data who does not have "x" field

2013-03-13 Thread anurag.jain
id":"3", "name":"john" } now i want to search that data who does not have that field. what query should like. please reply It is very urgent - i have to complete this task by today itself thanks in advance. -- View this message in context: http:/