Hi.
I'm facing similar problems. I have a tags = indexes.MultiValueField()
and
<field name="tags" type="string" indexed="true" stored="true"
multiValued="true" />
If some tags are composed by multiple words (ie 'this is a tag'), the
faceting splits a tag name by spaces, so I get
{'this': 1, 'is': 1, 'a': 1, 'tag': 1}.
Moreover an odd thing happen:
if I have some tag names that end by another tag name, ie in addition
to the tag name above let's say I have a tag 'soma',
I'll get this facet count: {'this': 1, 'is': 1, 'a': 1, 'tag': 1,
'som': 1}
since there is another tag, for its understanding, 'a'.
So
1. It splits field values by space
2. Truncates the end of field values with other existing field names.
ps: tried the last svn version
On Nov 5, 9:55 am, Daniel Lindsley <
polarc...@gmail.com> wrote:
> Jonathan,
>
> Just so you're aware, by indexing that and using the string, only
> exact matches will get picked up in the search. Adding faceting as a
> field kwarg is a planned improvement before 1.0. It's a pain point for
> many people, myself included. Sorry.
>
> Daniel
>