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.
:[* 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
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.
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.
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
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
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.
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:/