One technique is to add a copyField directive to your schema, which can use
a wildcard to copy a bunch of fields to a single, combinaed field that you
can query directly, such as rullAll:key.
Or, consider using a multivalued field.
-- Jack Krupansky
-----Original Message-----
From: anuragwalia
Sent: Friday, April 4, 2014 7:15 AM
To: solr-user@lucene.apache.org
Subject: Solr Search on Fields name
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.