Solr: Facet one field with two outputs

Solr: Facet one field with two outputs

Content Index :

Solr: Facet one field with two outputs
Tag : solr , By : Helpful Dude
Date : November 24 2020, 05:44 AM

No Comments Right Now !

Boards Message :
You Must Login Or Sign Up to Add Your Comments .

Share : facebook icon twitter icon

Lucene/Solr: facet an already faceted date field (pivot facet / tree facet / sub-facet / hierarchical facets)

Tag : date , By : Mforg
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

solr facet field values appear to be generated by solr

Tag : solr , By : fayoh
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.
Related Posts Related QUESTIONS :
  • Boost Solr results based on the field that contained the hit
  • Solr Search Query for word must occur after specific position
  • How to sort with a "nested" filter in Hybris Solr
  • How to add Hybris Solr By for Boolean value
  • Accepting and managing identical documents in SOLR
  • Solr partial search
  • Solr search by beginning of each word
  • What has changed that broke this Solr Query?
  • Solr unable to replicate external file (EFF) in data folder
  • Sunspot solr search with negative value
  • Cannot index timestamp in SOLR
  • Retrieving raw status output from solr admin
  • Solr - Japanese and long vowel marks
  • Solr.xml and schema.xml of embedded solr on Spring Data Solr
  • Exact word match Solr
  • MoreLikeThisQuery using SolrTemplate in Spring data
  • Custom field class in SOLR
  • Solr to Tokenize on white space, comma and period
  • How does doc_values of Lucene is implemented?
  • Solr external field file not sorting results?
  • Is there a way to execute a query on SOLR where I have a list of words that need to be in different fields?
  • Retrieving document ID in apache solr clustering results
  • How to fix: Error CREATEing SolrCore 'gettingstarted': Unable to create core
  • How to ignore dots and other characters during a search in solr
  • How to limit index length in SOLR for a single field
  • How to search over documents with 2 or more entries in multivalued field in Solr?
  • SOLR Special Characters and Emoticons
  • Solr 5.3 on Debian Wheezy cannot open log file
  • solr: boost query will be ignored
  • How to integrate Cassandra and Solr for search engine using Spring Framework
  • Indexing joined records in Solr
  • solr query time synonyms
  • Solr version 6.6.1 and http core and client versions
  • Apache Nifi GetSolr configuration without Date Field
  • local param not working in solr 8 but working in solr 5
  • How to conduct a web crawl for specific topic via Apache Nutch?
  • Why is it not suggested to implement typeahead using Wildcard search?
  • shadow
    Privacy Policy - Terms - Contact Us © scrbit.com