Hi all,
having two fields named 'type' and 'cat' with identical type and options,
but different values recorded, would it be possible to query them as they
were one field?
For instance
q=type:electronics cat:electronics
should return same results as
q=common:electronics
I know I could make it
On Thu, Nov 4, 2010 at 8:21 AM, Tommaso Teofili
tommaso.teof...@gmail.comwrote:
Hi all,
having two fields named 'type' and 'cat' with identical type and options,
but different values recorded, would it be possible to query them as they
were one field?
For instance
q=type:electronics
Ken's suggestion to look at dismax is a good one, but I have
a question
q=type:electronics cat:electronics
should do what you want assuming your default operator
is OR. Is it failing? Or is the real question how you can
do this automatically?
I'd expect the ranking to be a bit different, but
Hi Erick
2010/11/4 Erick Erickson erickerick...@gmail.com
Ken's suggestion to look at dismax is a good one, but I have
a question
q=type:electronics cat:electronics
should do what you want assuming your default operator
is OR.
correct
Is it failing? Or is the real question how you
Tommaso Teofili wrote:
No failing, just looking for how to do such expansion of fields
automatically (with fields in OR but that's not an issue I think)
the dismax query parser is that way.