Chris / Hoss
Thanks for the detailed explanation. Erick Erickson's explanation made
sense to me but it didn't explain the part why the fields are different for
'hello' vs '*:*' .
I had never paid much attention the parser part of query handling and so
far focused only on the field definitions. I
: defType=dismax does NOT do anything special with *:* other than treat it
...
: > As Chris explained, this is special:
...
I'm interpreting your followup question differently then Erick & Erik
did. I'm going to assume both E & E missunderstood your question, and i'm
going to
I think what Erick meant to say ;) was
defType=dismax does NOT do anything special with *:* other than treat it as
plain text and does dismaxy things with it. That’s exactly why there is q.alt
for the dismax parser - so you can have your dismax and still match all docs by
not having a
As Chris explained, this is special:
q=*:*
in terms of scoring or anything of the like. It's just match-all-docs
It makes no sense to distribute *:* among "pf" fields. The whole point
of pf is to influence scoring by providing a mechanism for boosting
when words in some field(s) appear together
Thanks everyone, that was a very informative thread.
One more curiosity: why are different set of fields being used based on the
query string:-
http://localhost:8983/solr/filesearch/select?fq=id:1193;
q=*:*=true
- parsedquery: "+DisjunctionMaxQuery((user_email:*:* | user_name:*:* |
: Yes, i am using dismax. But dismax allows *:* for q.alt ,which also seems
: like inconsistency.
dismax is a *parser* that affects how a single query string is parsed.
when you use defType=dismax, that only changes how the "q" param is
parsed -- not any other query string params, like "fq" or
On 1/5/2018 7:22 PM, Nawab Zada Asad Iqbal wrote:
Yes, i am using dismax. But dismax allows *:* for q.alt ,which also seems
like inconsistency.
It works in q.alt because q.alt is interpreted using the standard
(lucene) query parser.
The dismax parser doesn't understand lucene syntax like
HI Erik Hatcher
Yes, i am using dismax. But dismax allows *:* for q.alt ,which also seems
like inconsistency.
On Thu, Jan 4, 2018 at 5:53 PM, Erik Hatcher wrote:
> defType=??? Probably dismax. It doesn’t do *:* like edismax or lucene.
>
> > On Jan 4, 2018, at 20:39,
defType=??? Probably dismax. It doesn’t do *:* like edismax or lucene.
> On Jan 4, 2018, at 20:39, Nawab Zada Asad Iqbal wrote:
>
> Thanks Erik
> Here is the output,
>
> http://localhost:8983/solr/filesearch/select?fq=id:1193=*:*=true
>
>
> - parsedquery:
Thanks Erik
Here is the output,
http://localhost:8983/solr/filesearch/select?fq=id:1193=*:*=true
- parsedquery: "+MatchAllDocsQuery(*:*)",
http://localhost:8983/solr/filesearch/select?fq=id:1193=*:*=true
- parsedquery: "+DisjunctionMaxQuery((user_email:*:* | user_name:*:* |
Hmm, seems odd. What happens when you attach =query? I'm curious how
the parsed queries differ.
On Jan 4, 2018 15:14, "Nawab Zada Asad Iqbal" wrote:
> Hi,
>
> In my SearchHandler solrconfig, i have q.alt=*:* . This allows me to run
> queries which only have `fq` filters and no
Hi,
In my SearchHandler solrconfig, i have q.alt=*:* . This allows me to run
queries which only have `fq` filters and no `q`.
If I remove q.alt from the solrconfig and specify `q=*:*` in the query
parameters, it does not give any results. I also tried `q=*` but of no
avail.
Is there some good
12 matches
Mail list logo