I am new to Elastic and I am sure my issue is very basic, if someone could give me high level pointers (or detailed instructions if they wish) it would be very helpful.
I have about 120,000 documents and each document has a property called "tx"
I want to perform semantic searches against the tx property of the document.
My questions
how do I setup the index and the mappings
how do I structure the documents for ingestion, does it need any additional property to support ELSER
If you already have your data in an index, you can create a new "target" index and use a pipeline to re-index all your documents with the new embedding values stored in a sparse-vector field.
Alternatively, if your data comes from a different source, you can directly index it using ELSER enhancements in one go during the initial ingestion.
For queries, you will be using the text_expansion to perform semantic search:
"text_expansion": {
"ml.tokens": {
"model_id":".elser_model_1",
"model_text":"looking for a specific document in here"
}
},
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.