Get the App
SLTechnology News&Howtos  ›  Servers  › 

Data statistics for which field is not included in solr

Shulou Source: shulou.com Published: 2022-05-31 17:36:58 11月14日 Update

This article introduces the relevant knowledge of "data statistics of which field is not included in solr". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!

1 solr does not contain content field data query (for statistical purposes)

-content:*

If you are connected to the previous field, the position of the parentheses is important:

TableName:AA AND-(content:*)

Incorrect writing: if (- content:*) has no value

2 data that solr statistics will not be empty. Note that this data indicates that there is this field, but the value of the field is empty, which is essentially different from 1.

-content: ""

Note: the statistics of 2 will not include the data that does not include cotent fields.

This is the end of the content of "data statistics of which fields are not included in solr". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!

Tags: Fields data statistics data statistics content more knowledge practical important successful learning next location writing dilemma reality situation parentheses data query articles time Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Docker Redmi MySQL Shulou Technology Linux