Capability Inquiry: Retrieving Specific JSON Records Based on Text #12
-
Hi I am considering using the BM25 library for a project where I need to efficiently retrieve JSON records based on textual content matches. My data is structured in JSON format, each with several fields. Use CaseWhen I input a query, such as "mountain cycling", I want to retrieve the top K JSON records that best match this query based on the content of the 'chunk' field. Example of json
Questions
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
Am i doing this correctly
|
Beta Was this translation helpful? Give feedback.
-
I was able to do it closing this. |
Beta Was this translation helpful? Give feedback.
-
To answer your original question, bm25s does not provide utility for indexing json files. However, the built-in |
Beta Was this translation helpful? Give feedback.
-
Thank you for for replying. I was able to get the results. 😊 |
Beta Was this translation helpful? Give feedback.
To answer your original question, bm25s does not provide utility for indexing json files. However, the built-in
json
library should be good for what you have in mind.