:             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

Reply via email to