Re: Can't limit return fields in custom request handler

2009-07-14 Thread Osman İZBAT
Thank you very much Chris. Regards. On Mon, Jul 13, 2009 at 4:30 AM, Chris Hostetter 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 B

Re: Can't limit return fields in custom request handler

2009-07-12 Thread Chris Hostetter
: 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 yo

Re: Can't limit return fields in custom request handler

2009-07-08 Thread Osman İZBAT
II'll look SolrPluginUtils.setReturnFields. I'm running same query : http://localhost:8983/solr/select/?qt=cfacet&q=%2BitemTitle:nokia%20%2BcategoryId:130&start=0&limit=3 I get none empty r

Re: Can't limit return fields in custom request handler

2009-07-07 Thread Chris Hostetter
: But I have a problem like this; when i call : http://localhost:8983/solr/select/?qt=cfacet&q=%2BitemTitle:nokia%20%2BcategoryId:130&start=0&limit=3&fl=id, : itemTitle : i'm getiing all fields instead of only id and itemTitle. Your custom handler is responsible for checking the fl and setting