In OpenSearch, I'm working with an index that includes a nested field named "chunks," containing vectors for semantic search. Due to openai's token limit, each document will be chunked and stored in this nested field. During a search operation, I want to retrieve matched nested fields without including the parent document in the hits. While experimenting with inner_hits, I found that it still organizes the nested field results by the parent document. Ideally, I'm seeking a flattened representation of all data within inner_hits – essentially treating the nested documents as if they were the direct hits from the search results. Since I am performing semantic search, the relationship of the nested fields to the parent document does not matter in this case. I've reviewed the documentation but haven't found any information on achieving this. Is there a way to accomplish this in OpenSearch, or is there a workaround that achieves a similar outcome?
"How can I retrieve matched nested fields without parent documents in OpenSearch?"
27 views Asked by lightning_missile At
0
There are 0 answers
Related Questions in AMAZON-WEB-SERVICES
- S3 integration testing
- How to get content of BLOCK types LAYOUT_TITLE, LAYOUT_SECTION_HEADER and LAYOUT_xx in Textract
- Error **net::ERR_CONNECTION_RESET** error while uploading files to AWS S3 using multipart upload and Pre-Signed URL
- Failed to connect to your instance after deploying mern app on aws ec2 instance when i try to access frontend
- AWS - Tab Schema Conversion don't show up after creating a Migration Project
- Unable to run Bash Script using AWS Custom Lambda Runtime
- Using Amazon managed Prometheus to get EC2 metrics data in Grafana
- AWS Dns record A not navigate to elb
- Connection timed out error with smtp.gmail.com
- AWS Cognito Multi-tenant Integration | Ok to use Client’s Idp?
- Elasticbeanstalk FastAPI application is intermittently not responding to https requests
- Call an External API from AWS Lambda
- Why my mail service api spring isnt working?
- export 'AWSIoTProvider' (imported as 'AWSIoTProvider') was not found in '@aws-amplify/pubsub'
- How to take first x seconds of Audio from a wav file read from AWS S3 as binary stream using Python?
Related Questions in ELASTICSEARCH
- How does Elasticsearch do attribute filtering during knn (vector-based) retrieval?
- Elastic python to extract last 1hr tracing
- Elastic search not giving result when Hyphen is used in search text
- FluentD / Fluent-Bit: Concatenate multiple lines of log files and generate one JSON record for all key-value from each line
- Elasticsearch functional_score with parameter of type string array as input not working
- Elasticsearch - cascading http inputs from Airflow API
- AWS Opensearch - Restore snapshot - Failed to parse object: unknown field [uuid] found
- cluster block exception for system index of kibana
- What settings are best for elasticsearch query to find full word and half word
- OpenSearch - Bulk inserting Million rows from Pandas dataframe
- unable access to kibana
- PySpark elastic load fail with error SparkContext is stopping with exitCode 0
- How to use query combined to KNN with ElasticSearch?
- Facing logstash compatibility issues
- If the same document is ingested at two different times, how to have the same id in Elasticsearch
Related Questions in OPENAI-API
- Scrimba tutorial was working, suddenly stopped even trying the default
- How to return HTTP Get request response from models class in Django project
- Protect OpenAI key using Firebase function
- Python ChatGPT bot issue with openai.Completion
- How do I send an audio file to OpenAi?
- Fine-Tuning Large Language Model on PDFs containing Text and Images
- Error Accessing completions Property of openai in Node.js Module
- LangChain OpenAI Agent with Sources
- Azure openai load testing mode
- how to add the button onto the furnace GUI in minecraft
- How can I use open ai api key for my tic tac toe game
- Getting an error while using the open ai api to summarize news atricles
- How to integrate source section in chat gpt API in py?
- Why does this error keep showing, what am i missing? await message.channel.send(f"Answer: {bot_response}") IndentationError: unexpected indent
- How do I embed json documents using embedding models like sentence-transformer or open ai's embedding model?
Related Questions in OPENSEARCH
- "object tuple can't be used in 'await' expression" while using OpensearchVectorClient for llama-index
- the difference in terms of performance two types of update in opensearch
- How to use indices in OpenSearch Dashboard?
- AWS Opensearch - Restore snapshot - Failed to parse object: unknown field [uuid] found
- OpenSearch - Bulk inserting Million rows from Pandas dataframe
- Facing logstash compatibility issues
- OpenSearch: How to perform a term aggregation on top of a bucket aggregation?
- Handling mapper_parsing_exception in OpenSearch for dynamic data types from Amazon EventBridge
- Common Method Implementation for Elasticsearch and OpenSearch Java SDK
- Unified search scoring across ElasticSearch and OpenSearch cluster
- How do I get the total no of buckets for the bucket aggregation
- How can I connect to Opensearch Serverless in java?
- Opensearch Terms query wildcard
- Is it possible to create an ISM policy in Opensearch to delete documents in an index that are 30 days old
- how to pre-configure opensearch with a dashboard
Related Questions in CHUNKING
- Is AI21SemanticTextSplitter (from langchain_ai21) Deprecated?
- Semantic Chunking with Langchain on FAISS vectorstore
- How to select chunk size of data for embedding with an LLM?
- "How can I retrieve matched nested fields without parent documents in OpenSearch?"
- Explain Dask-cuDF behavior
- How to handle spring batch remote chunking in Kubernates pod?
- LlamaIndex small-to-big chunking strategy in RAG pipeline, limits the chunk size a lot
- Avoid gRPC message exceeds maximum size
- I want to send a "mixed", chunked response of JSON and a string with Express
- Optimal Splitting of Feature-Target Pairs within Input Size Constraints
- Context based chunks using Adobe PDF Extract Python
- How to perform document retrieval in large database to augment prompt of LLM?
- Merging two chunked dataframes
- llama_index PromptHelper not chunking properly
- DOMException Error when splitting large file blob into chunks
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)