Hi Anurag,

It seems that RuleA and RuleB are field names?

in that case try this query

q=RuleA:[* TO *] OR RuleB:[* TO *]

Ahmet


On Friday, April 4, 2014 4:15 PM, anuragwalia <anuwaliaha...@gmail.com> wrote:
Hi,

Thank for giving your important time.

Problem :
I am unable to find a way how can I search Key with "OR" operator like if I
search Items having  "RuleA" OR "RuleE".

Format of Indexed Data:

<result name="response" numFound="27" start="0" maxScore="1.0">
<doc>
<float name="score">1.0</float>
.....
<int name="RuleA">4</int>
<int name="RuleD">2</int>
<int name="RuleE">2</int>
<int name="RuleF">2</int>
....
</doc>
Can any one help me out how can prepare SearchQuery for key search.


Regards
Anurag 



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Solr-Search-on-Fields-name-tp4129119.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to