Lucene/Solr: facet an already faceted date field (pivot facet / tree facet / sub-facet / hierarchical facets)
Date : March 29 2020, 07:55 AM
Any of those help I'm not sure if date facets can be used in the facet.tree patch. If you haven't that many languages (or dates) you could simply index the fields in one field via 'date/lang'
|
solr facet field values appear to be generated by solr
Date : March 29 2020, 07:55 AM
should help you out Text fields are not suggested to be used for Faceting. You won't get the desired behavior as the text fields would be tokenized and filtered leading to the generation of multiple tokens which you see from the facets returned as response. SolrFacetingOverview :-
|
Solr facet on a multi value field
Tag : solr , By : John Bentley
Date : March 29 2020, 07:55 AM
it fixes the issue Which of the multiple of values would you like to sort multiValued field on? Solr can't decide for you. The usual answer is to create a second field just for sort, it does not need to be stored. Then, you use Update Request Processor to populate that second field from the first and you only keep one value which will be used for sort.
|
solr facet with text field, how to stop solr tokenize it into separate tokens, I want to get the whole field result
Tag : solr , By : Habikki
Date : March 29 2020, 07:55 AM
I wish this helpful for you I have a text field type named buyer, I need facet on the field. And get the whole value, nor separate tokens, how can I do? thanks a lot. eg, buyer field value are "beauty inc"、"markwins llc"、"products inc", this is facet result: <field name="buyer" type="text_general" indexed="true" stored="true"/>
<field name="buyer_facet" type="string" indexed="true" stored="false"/>
<copyField source="buyer" dest="buyer_facet"/>
|
SOLR: facet.field is working for each word in a field differently, how to apply facet.field for whole field sentence?
Tag : solr , By : Debashree
Date : March 29 2020, 07:55 AM
like below fixes the issue The field MerchantName used for faceting. This field should be defined in schema.xml as a string (type="string") in order for the facet to use the whole text. As you are using a text based field with field type as text_general, the value will be split into multiple tokens. The same is the case with MerchantName field.
|