Default Value of Solr Facet and default value of solrfacet

Source: Internet
Author: User
Tags solr

Default Value of Solr Facet and default value of solrfacet
Preface

Today, I encountered the default value problem when using Solr Facet. I used Facet. field query found a total of 100 data records. At the beginning, we did not pay attention to the fact that we found a small number of data records, but we can use these individual IDs to query the data again. The default value of Facet is discovered. If this parameter is not set, only 100 entries are queried by default.

 

Set Facet. Limit to overwrite the default Facet value.

If you want to return all fields in the group, set FacetLimit (-1 ).

Set the Value field of Key-Value After grouping to greater than 0: FacetMinCount (1)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.