Anyway i wrote a lucene syntax for this
+((+category:audio +brand:sony)|(+category:video +brand:sony))
Thanks
darniz
Shalin Shekhar Mangar wrote:
>
> On Thu, Dec 10, 2009 at 2:50 AM, darniz wrote:
>
>>
>> Can you please let me know how to describe that condition.
>>
>>
>> For example lets say
On Thu, Dec 10, 2009 at 2:50 AM, darniz wrote:
>
> Can you please let me know how to describe that condition.
>
>
> For example lets say i want to give the following condition
>
> ((category:audio or category:video) AND (brand:sony OR brand:samsung OR
> brand:sanyo))
> How would you represent thi
Can you please let me know how to describe that condition.
For example lets say i want to give the following condition
((category:audio or category:video) AND (brand:sony OR brand:samsung OR
brand:sanyo))
How would you represent this condition in fq paramenter of dismax
condition goes here
is
yeah that is possible, I just tried on one of my solr instances..let's say
you have an index of player names:
(first-name:Tim AND last-name:Anderson) OR (first-name:Anwar AND
last-name:Johnson) OR (conference:Mountain West)
will give you the results that logically match this query..
HTH.
Alessa