Re: facet prefix with tokenized fields

2012-10-29 Thread Erick Erickson
In short, no. The problem is that faceting is working by counting documents with distinct tokens in the field. So in your example I'd expect you to see facets for "toys", "for", "children". All it has to work with are the tokens, the fact that the original input was three words is completely lost a

Re: facet prefix with tokenized fields

2012-10-29 Thread Grzegorz Sobczyk
I'd like to use faceting. I don't want list of documents. Using ngram would give me response which is useless for me. Querying smth like this: fq=category_ngram:child&facet.field=category_exactly would give me something like this (for multivalued category fields): "toys for children" "games" "m

Re: facet prefix with tokenized fields

2012-10-29 Thread Rafał Kuć
Hello! Do you have to use faceting for prefixing ? Maybe it would be better to use ngram based field and return the stored value ? -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - ElasticSearch > > Hi. > Is there any solution to facet documents with speci

facet prefix with tokenized fields

2012-10-29 Thread Grzegorz Sobczyk
Hi.Is there any solution to facet documents with specified prefix on some tokenized field, but in result gets the original value of a field?e.q.:         Indexed value: "toys for children"query: q=&start=0&rows=0&facet.limit=-1&facet.mincount=1&f.category_ac.facet.prefix=chi&facet.field=