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=

Re: Case-insensitive on facet prefix

2012-07-13 Thread Erick Erickson
You'll have to lowercase your facet.prefix. All the terms in your field are lowercased, as per your fieldType so you'll have to specify searching that way too Best Erick On Thu, Jul 12, 2012 at 2:01 PM, Nestor Oviedo wrote: > Hello all. > I have a field configured with the LowerCaseFilterFa

Case-insensitive on facet prefix

2012-07-12 Thread Nestor Oviedo
Hello all. I have a field configured with the LowerCaseFilterFactory as the only analyzer (for botth indexing and searching). The problem is that facet.prefix doesn't work on that field as expected. For example: Indexed term: house --> LowerCaseFilterFactory applied facet.prefix=hou --> returns a

Re: facet Prefix (or term prefix)

2010-10-22 Thread Markus Jelsma
Hi, There is no facet.contains facility there are alternatives. Instead of using the faceting engine, you will need to create a field that has an NGramTokenizer. Properly configured, you can use this field to query upon and it will return what you would expect from a facet.contains feature. H

facet Prefix (or term prefix)

2010-10-22 Thread Jason Brown
I am aware of the facet.prefix facility. I am using SOLR to return a facetted fields contents - I use the facet.prefix to restrict what returns from SOLR - this is very useful for predictive search functionality (autocomplete). My only issue is that the field I facet on is a string and could ha

Facet prefix

2009-08-24 Thread smock
7; - is this behavior possible to set up? Thanks, harish -- View this message in context: http://www.nabble.com/Facet-prefix-tp25117944p25117944.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Facet prefix question

2007-07-09 Thread Chris Hostetter
: Hey there does anyone know how to perform multiple facet prefixes on the same : field. I am using the f..facet.prefix syntax and cannot get an : "OR"ing of faceted results. that's really not possible ... facet.prefix isn't parsed as a query, it's a raw term prefix. can you elaborate on what i

Facet prefix question

2007-07-09 Thread Robert Purdy
Hey there does anyone know how to perform multiple facet prefixes on the same field. I am using the f..facet.prefix syntax and cannot get an "OR"ing of faceted results. Thanks Robert. -- View this message in context: http://www.nabble.com/Facet-prefix-question-tf4052754.html#a115