Use the following query:
/select?q=*:*&rows=0&wt=json&indent=true&fl=NOT_IMPORTANT&facet=true&facet.zeros=false&fq={!tag=mk
q.op=OR}make:(Ford red 2010)&fq={!tag=cl q.op=OR}color:(Ford red
2010)&fq={!tag=yr q.op=OR}year:(Ford red 2010)&facet.field={!ex=cl,yr
key=mk}make&facet.field={!ex=mk,yr k
I'm not sure, whether I made myself very clear. I don't
think that it is difficult to evaluate the query. Here's a
(very inefficient) algorithm in pseudocode that would do,
what I have in mind:
query = ...
foreach (term in query)
foreach (field in SOLR.config.fields)
result = SOLR.query(
> I'm not sure, whether I made myself very clear. I don't
> think that it is difficult to evaluate the query. Here's a
> (very inefficient) algorithm in pseudocode that would do,
> what I have in mind:
>
> query = ...
>
> foreach (term in query)
> foreach (field in SOLR.config.fields)
> res
No, I don't.
But since I'll store documents in solr having "color" set
to "red",
"green", "blue" and "manufacturer" set to "ford", "bmw"
etc. the
information is available.
Okey information is available but the difficult part is recognize those things
from the free form text query. There is no s
> No, I don't.
> But since I'll store documents in solr having "color" set
> to "red",
> "green", "blue" and "manufacturer" set to "ford", "bmw"
> etc. the
> information is available.
Okey information is available but the difficult part is recognize those things
from the free form text query. T
I'm evaluating SOLR and have a question about query
processing. Is it possible to set filters on fields
according to the terms entered in the query? I know that I
can use dismax to search in multiple fields. However, what I
want to achieve for a given query is the following:
- parse all terms in
> I'm evaluating SOLR and have a question about query
> processing. Is it possible to set filters on fields
> according to the terms entered in the query? I know that I
> can use dismax to search in multiple fields. However, what I
> want to achieve for a given query is the following:
> - parse a