Thank you very much Chris.

Regards.

On Mon, Jul 13, 2009 at 4:30 AM, Chris Hostetter
<hossman_luc...@fucit.org>wrote:

>
> :             Query filter = new TermQuery(new Term("inStores", "true"));
>
> that will work if "inStores" is a TextField or a StrField and it's got the
> term "true" indexed in it ... but if it's a BoolField like in the
> example schema then the values that appear in the index are "T" and "F"
>
> When you write custom Solr plugins You *HAVE* to leverage the FieldType of
> fields you deal with when building queries programaticly.  this is what
> the "FieldType.toInternal" method is for.
>
>
>
>
> -Hoss
>
>


-- 
Osman İZBAT

Reply via email to