That's impressive answer. I actually wanted to know how exactly query
parser works. I'm actually supposed to collect some fields,values,other
related info and build a solr query. I wanted to know i should use this
queryparser or java code to build solr query. Anyway it looks i've to go
with java co
I would say "*:*" is a human-readable/writable query. as is
"inStock:false". The former will be converted by the query parser into a
MatchAllDocsQuery which is what Lucene understands. The latter will be
converted (again by the query parser) into some query. Now this is where
*which* query parse
All right let me put this.
http://192.168.1.78:8983/solr/collection1/select?q=inStock:false&facet=true&facet.field=popularity&wt=xml&indent=true
.
I just want to know what is this form. is it lucene query or this query
should go under query parser to get converted to lucene query.
Thanks,
Vivek
That's *:* and a special case. There is no scoring here, nor searching.
Just a dump of documents. Not even filtering or faceting. I sure hope you
have more interesting examples.
Regards,
Alex
On 20/06/2014 6:40 pm, "Vivekanand Ittigi" wrote:
> Hi Daniel,
>
> You said inputs are "human-genera
Hi Daniel,
You said inputs are "human-generated" and outputs are "lucene objects". So
my question is what does the below query mean. Does this fall under
human-generated one or lucene.?
http://localhost:8983/solr/collection1/select?q=*%3A*&wt=xml&indent=true
Thanks,
Vivek
On Fri, Jun 20, 2014
Alexandre's response is very thorough, so I'm really simplifying things, I
confess but here's my "query parsers for dummies". :)
In terms of inputs/outputs, a QueryParser takes a string (generally assumed
to be "human generated" i.e. something a user might type in, so maybe a
sentence, a set of wo
I am going to have a go at this. Maybe others can add/correct.
When you make a request to Solr, it hits a request handler first. E.g.
a "/select" request handler. That's defined in solrconfig.xml
The request handler can change your request with some defaults,
required and overriding parameters.