Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 1.48 KB

File metadata and controls

37 lines (28 loc) · 1.48 KB

IndexSuggestion

Suggestion for creating a payload index.

Properties

Name Type Description Notes
field_name str Field name to index
query_count_24h int Number of queries using this field in last 24 hours
query_count_7d int Number of queries in last 7 days [optional]
suggested_type str Suggested index type (keyword, integer, float, etc.)
is_indexed bool Whether field is already indexed
first_seen datetime First time field was seen in filters
last_seen datetime Most recent usage
estimated_performance_gain str Estimated query performance improvement (e.g., '60-80%') [optional]

Example

from mixpeek.models.index_suggestion import IndexSuggestion

# TODO update the JSON string below
json = "{}"
# create an instance of IndexSuggestion from a JSON string
index_suggestion_instance = IndexSuggestion.from_json(json)
# print the JSON string representation of the object
print(IndexSuggestion.to_json())

# convert the object into a dict
index_suggestion_dict = index_suggestion_instance.to_dict()
# create an instance of IndexSuggestion from a dict
index_suggestion_from_dict = IndexSuggestion.from_dict(index_suggestion_dict)

[Back to Model list] [Back to API list] [Back to README]