I want to do a Apache Solr search that will do the following:
If
field=value1
returns anything then return that.
Else if
field=value2
returns anything then return that.
Else
field=value3
returns anything then return that.
How can I do that? Any help? Currently I am writing if else logic in java.