manticoresearch icon indicating copy to clipboard operation
manticoresearch copied to clipboard

Expand _source includes to support nested fields.

Open tmikaeld opened this issue 3 years ago • 2 comments

Filtering on fields only match the root field, not any nested results.

Would be great to be able to either recursively filter fields or specify the full paths to the nested fields.

Example:

"_source": {  
"data": {  
"id": "211bcebc-2a8f-4a58-9560-198cb10be2e7",  
"name": "One time ",  
"classification": "Product Addon",  
.....  

A lookup for a nested field could logically be:

"_source": {  
        "includes": [  
                "data.name",  
                "data.classification"  
        ]  
}  

To return only the name and classification fields in the results.

tmikaeld avatar Oct 21 '22 12:10 tmikaeld

Any update on this feature, we have quite large documents and this would save huge amounts of network traffic.

tmikaeld avatar Oct 31 '23 15:10 tmikaeld

This issue hasn't been prioritized since its creation, as there have consistently been tasks that appear more important for a larger number of users. If resolving this issue promptly is crucial for you, please consider utilizing our professional services at https://manticoresearch.com/services. Alternatively, you are welcome to address the issue on your own and submit a pull request. Our core team would be happy to review and accept your contributions.

sanikolaev avatar Oct 31 '23 15:10 sanikolaev