Your query

AnimalName:German Shepard.

means

AnimalName:German <defaultField>:Shepard.

whichever the defaultField is

Try with
AnimalName:"German Shepard"

or

AnimalName:German AND AnimalName:Shepard.



On Thu, Oct 30, 2008 at 12:58 PM, Yerraguntla <[EMAIL PROTECTED]> wrote:

>
> Hi,
>
> I have a data set with the following schema.
>
> PersonName:Text
> AnimalName:Text
> PlantName:Text
>
> <.... lot more attributes about each of them like nick name, animal nick
> name, plant generic name etc which are multually exclusive>
> UniqueId:long
>
> For each of the document data set, there will be only one value of the
> above
> three.
>
> In my solr query from client
>
> I am using AnimalName:German Shepard.
>
> The return result contains
> PersonName with 'Shepard' in it, even though I am querying on AnimalName
> field.
> Can anyone point me whats happening and how to prevent scanning other
> columns/fields.
>
> I appreciate your help.
>
> Thanks
> Ravi
>
> --
> View this message in context:
> http://www.nabble.com/Solr-Searching-on-other-fields-which-are-not-in-query-tp20249798p20249798.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
>

Reply via email to