I have a condition, searching index by the filtered folder_article_id which numeric value,
whenever I upset the data, i want to get the data, set the updated, delete existing data, and reindex using IndexOption replace again.
when I add the index, it returns.
FT.SEARCH folder_article “@folder_article_id:[210 210]”
[
1,
“folder_article:210”,
[
“folder_article_id”,
“210”,
“is_deleted”,
“false”,
“reading_time”,
“2.6”,
“folder_article_name”,
“nama 321”,
“article_image_url”,
“article/2e5fc5eef7788804739f8dd51bdc6e2b.jpeg”,
“category_name”,
“test category”,
“created_at”,
“2020-04-22 10:21:50”,
“updated_at”,
“2020-04-22 10:21:50”,
“folder_article_status”,
“false”,
“article_id”,
“72”,
“category_id”,
“1”,
“folder_id”,
“102”,
“folder_article_uuid”,
“bqfrgjjipt30l7uqq8fg”,
“is_bookmarked”,
“true”,
“description”,
“test ajaa lemonilo”,
“user_id”,
“1”,
“env”,
“local”
]
]
then I try to search again
FT.SEARCH folder_article “@folder_article_id:[210 210]”
[
0
]
can you help me?
thank you