You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by DHast <ha...@gmail.com> on 2009/09/17 17:38:20 UTC
Facet vs searching, field types,
hello,
my documents have a field called member_of,
this field holds a list, so it will look like this:
member_of: fred bob mike journals wsjournals jen steve
if 'member_of' is a 'string' and i search:
goats AND member_of(fred bob journals)
i get the right results,
however, the faceting doesnt work right, it groups journals and wsjournals
together
this is happening because a lot of the entries are in both, but the faceting
seems to align one result to one facet value, rather than multiple values,
so if ten results have member_of journals wsjournals, they are assigned to
wsjournals, not journals.
any way to make them show as a result twice?
--
View this message in context: http://www.nabble.com/Facet-vs-searching%2C-field-types%2C-tp25491963p25491963.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Facet vs searching, field types,
Posted by DHast <ha...@gmail.com>.
DHast wrote:
>
>
>
> DHast wrote:
>>
>> hello,
>> my documents have a field called member_of,
>> this field holds a list, so it will look like this:
>> member_of: fred bob mike journals wsjournals jen steve
>> if 'member_of' is a 'string' and i search:
>> goats AND member_of(fred bob journals)
>> i get the right results,
>> however, the faceting doesnt work right, it groups journals and
>> wsjournals together
>>
>> this is happening because a lot of the entries are in both, but the
>> faceting seems to align one result to one facet value, rather than
>> multiple values, so if ten results have member_of journals wsjournals,
>> they are assigned to wsjournals, not journals.
>>
>> any way to make them show as a result twice?
>>
>>
>>
>>
>
>
> Ok, i think i got this, i added multiValued='true' for that field and the
> counts seem much better, or at least what i was looking for
>
also:
facet.method=enum to the query
--
View this message in context: http://www.nabble.com/Facet-vs-searching%2C-field-types%2C-tp25491963p25491972.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Facet vs searching, field types,
Posted by DHast <ha...@gmail.com>.
DHast wrote:
>
> hello,
> my documents have a field called member_of,
> this field holds a list, so it will look like this:
> member_of: fred bob mike journals wsjournals jen steve
> if 'member_of' is a 'string' and i search:
> goats AND member_of(fred bob journals)
> i get the right results,
> however, the faceting doesnt work right, it groups journals and wsjournals
> together
>
> this is happening because a lot of the entries are in both, but the
> faceting seems to align one result to one facet value, rather than
> multiple values, so if ten results have member_of journals wsjournals,
> they are assigned to wsjournals, not journals.
>
> any way to make them show as a result twice?
>
>
>
>
Ok, i think i got this, i added multiValued='true' for that field and the
counts seem much better, or at least what i was looking for
--
View this message in context: http://www.nabble.com/Facet-vs-searching%2C-field-types%2C-tp25491963p25491970.html
Sent from the Solr - User mailing list archive at Nabble.com.