btw
I only define an analyzer for the fieldType text,no string

2010/11/25 xu cheng <xcheng....@gmail.com>

> hi all:
> I have a solr app, and there is* a filed named filePath *whose type is *
> string*
> and the filePath fields  in the documents are* unique* (supposed to be
> uniqued)
> cos <uniqueKey>filePath</uniqueKey>
> and now I wanna query with this field, it find nothing.
> I just wonder whether the field defined as a string type will be analyzed?
> the query is like this   q=filePath:blablabla, it find nothing.(there is
> absolutely a unique document with the filePath field blablabla!!!)
>
> ( I declared this field to be text type, but each time I indexed the same
> document, there would be a duplicated doc indexed into the system. then I
> defined it as a string type, it is uniqued then, so I think the string type
> will not be analyzed, but why the query find nothing???)
>
> any one can help
> thanks
>

Reply via email to