Commit graph

1395 commits

Author SHA1 Message Date
Liam Thompson
f7f8ab0012
[DOCS] More targeted link for ESQL in CCS overview (#120125) 2025-01-15 10:32:33 +01:00
Svilen Mihaylov
93c349cc76
Add ability to set "max_analyzed_offset" implicitly to "index.highlight (#118895)
Add ability to set "max_analyzed_offet" implicitly to "index.highlight
.max_analyzed_offset", by setting it excplicitly to "-1".

Closes #112822
2025-01-07 11:19:07 -05:00
Liam Thompson
92bb091521
[DOCS] RAG overview (#119590) 2025-01-07 15:18:39 +01:00
Srikanth Manvi
8ded6c4568
Update search-application-api.asciidoc (#118494)
Fixing minor Typo
2025-01-07 13:30:14 +01:00
Liam Thompson
c7b61bdc63
[DOCS] Add full-text search overview (#119462) 2025-01-06 17:56:35 +00:00
shainaraskas
17111e1258
[DOCS] Concept cleanup 2 - ES settings (#119373) 2025-01-06 12:07:15 -05:00
Lisa Cawley
ba8beecdb0
[DOCS] More links to new API site (#119377) 2024-12-31 11:32:29 -08:00
Jim Ferenczi
12e86b1cd0
Refactor semantic text field to align with text field behaviour (#119183)
Co-authored-by: Mike Pellegrini <mike.pellegrini@elastic.co>
2024-12-30 09:31:02 +01:00
Jim Ferenczi
6f261067f2
Add a generic rescorer retriever based on the search request's rescore functionality (#118585)
This pull request introduces a new retriever called `rescorer`, which leverages the `rescore` functionality of the search request.  
The `rescorer` retriever re-scores only the top documents retrieved by its child retriever, offering fine-tuned scoring capabilities.  

All rescorers supported in the `rescore` section of a search request are available in this retriever, and the same format is used to define the rescore configuration.  

<details>
<summary>Example:</summary>

```yaml
  - do:
      search:
        index: test
        body:
          retriever:
            rescorer:
              rescore:
                window_size: 10
                query:
                  rescore_query:
                    rank_feature:
                      field: "features.second_stage"
                      linear: { }
                  query_weight: 0
              retriever:
                standard:
                  query:
                    rank_feature:
                      field: "features.first_stage"
                      linear: { }
          size: 2
```

</details>

Closes #118327

Co-authored-by: Liam Thompson <32779855+leemthompo@users.noreply.github.com>
2024-12-18 19:47:12 +00:00
Liam Thompson
528593b55f
[DOCS] Link to Elastic Rerank model landing page (#118574)
- Add link to Python notebook
- Fix heading level
2024-12-13 14:00:29 +00:00
kosabogi
8c10f0cc38
Changes elser service to elasticsearch service in the Semantic search with the inference API page (#118536) 2024-12-12 12:15:17 +01:00
kosabogi
3cf7f97141
Adds CCS matrix for 8.17 (#118527)
Co-authored-by: Liam Thompson <32779855+leemthompo@users.noreply.github.com>
2024-12-12 11:17:16 +01:00
Benjamin Trent
645657cc56
Remove old _knn_search tech preview API in v9 (#118104)
Removes the old `_knn_search` API that was never out of tech preview and
deprecated throughout the v8 cycle. 

To utilize the API, `compatible-with=8` can be utilized.
2024-12-11 02:01:25 +11:00
kosabogi
b2b8e3f762
[DOCS] [8.17] Adds new default inference endpoint information (#117985)
* Adds new default inference information

* Update docs/reference/mapping/types/semantic-text.asciidoc

Co-authored-by: István Zoltán Szabó <istvan.szabo@elastic.co>

* Update docs/reference/search/search-your-data/semantic-search-semantic-text.asciidoc

Co-authored-by: István Zoltán Szabó <istvan.szabo@elastic.co>

* Update docs/reference/mapping/types/semantic-text.asciidoc

Co-authored-by: David Kyle <david.kyle@elastic.co>

---------

Co-authored-by: István Zoltán Szabó <istvan.szabo@elastic.co>
Co-authored-by: David Kyle <david.kyle@elastic.co>
2024-12-09 09:05:11 +01:00
Benjamin Trent
9a81eb2dbe
Indicate that rescore isn't allowed with retrievers, yet (#118019) 2024-12-04 14:10:32 -05:00
Panagiotis Bailis
ad83d9b35d
Updating retriever-examples documentation to run validation tests on the provided snippets (#116643) 2024-11-29 12:50:01 +00:00
Liam Thompson
c3ac2bd58a
[DOCS] Add Elastic Rerank usage docs (#117625) 2024-11-28 08:23:28 +01:00
István Zoltán Szabó
339e431081
[DOCS] Documents that ELSER is the default service for semantic_text (#115769) 2024-11-25 08:07:30 -05:00
Liam Thompson
c699af2c67
[DOCS] Rename how-to subsection, move recipes to search relevance (#117044) 2024-11-19 18:27:05 +01:00
Luca Cavanna
99689281e0
Remove support for deprecated force_source highlighting parameter (#116943)
force_source is being parsed as a no-op since 8.8. This commit removes support
for it at REST, meaning a search request that provides it gets now an error back.
2024-11-18 17:36:39 +01:00
Liam Thompson
4e17c61d39
[DOCS] Remove 'rescore' from retriever.asciidoc (#116921) 2024-11-18 11:34:28 +01:00
Panagiotis Bailis
64c362b154
Adding more retriever examples to documentation (#116196) 2024-11-11 13:19:20 +02:00
Liam Thompson
c42b1ef95a
[DOCS] Use explicit link text in query rules retriever (#116389) 2024-11-07 14:22:53 +01:00
Kathleen DeRusso
14a7b8fe67
Add documentation for query rules retriever (#115696)
* Add initial query rules retriever docs

* Add docs tests

* Apply suggestions from code review

Co-authored-by: Liam Thompson <32779855+leemthompo@users.noreply.github.com>

* PR feedback

* Make query rules guide retriever-first

* Add warning to DSL doc

* Update docs/reference/search/retriever.asciidoc

Co-authored-by: Mike Pellegrini <mike.pellegrini@elastic.co>

* Update docs/reference/search/retriever.asciidoc

Co-authored-by: Mike Pellegrini <mike.pellegrini@elastic.co>

* Apply suggestions from code review

Co-authored-by: Mike Pellegrini <mike.pellegrini@elastic.co>

* Give parameters subheading an explicit id

* Fix formatting

---------

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Liam Thompson <32779855+leemthompo@users.noreply.github.com>
Co-authored-by: Mike Pellegrini <mike.pellegrini@elastic.co>
2024-11-06 14:42:06 -05:00
kosabogi
aa979b6f11
Adds 8.16 version to css matrix (#115788) 2024-10-29 07:37:03 +01:00
István Zoltán Szabó
4058daf8b2
Revert "[DOCS] Documents that ELSER is the default service for `semantic_text…" (#115748)
This reverts commit 541bcf30e5.
2024-10-28 14:31:42 +01:00
Liam Thompson
452ca351d3
[DOCS] Test trivial commit (#115579) (#115628)
(cherry picked from commit e642dd8481)
2024-10-25 20:19:31 +11:00
Liam Thompson
d500daf2e1
[DOCS][101] Add BYO vectors ingestion tutorial (#115112) 2024-10-24 18:02:11 +02:00
István Zoltán Szabó
541bcf30e5
[DOCS] Documents that ELSER is the default service for semantic_text (#114615)
Co-authored-by: Mike Pellegrini <mike.pellegrini@elastic.co>
2024-10-24 08:53:12 +02:00
Imad Saddik
eae3a426e7
Fixed hyperlink in search.asciidoc (#115156) 2024-10-21 17:22:29 +02:00
Luca Cavanna
8efd08b019
Upgrade to Lucene 10 (#114741)
The most relevant ES changes that upgrading to Lucene 10 requires are:

- use the appropriate IOContext
- Scorer / ScorerSupplier breaking changes
- Regex automaton are no longer determinized by default
- minimize moved to test classes
- introduce Elasticsearch900Codec
- adjust slicing code according to the added support for intra-segment concurrency
- disable intra-segment concurrency in tests
- adjust accessor methods for many Lucene classes that became a record
- adapt to breaking changes in the analysis area

Co-authored-by: Christoph Büscher <christophbuescher@posteo.de>
Co-authored-by: Mayya Sharipova <mayya.sharipova@elastic.co>
Co-authored-by: ChrisHegarty <chegar999@gmail.com>
Co-authored-by: Brian Seeders <brian.seeders@elastic.co>
Co-authored-by: Armin Braun <me@obrown.io>
Co-authored-by: Panagiotis Bailis <pmpailis@gmail.com>
Co-authored-by: Benjamin Trent <4357155+benwtrent@users.noreply.github.com>
2024-10-21 13:38:23 +02:00
István Zoltán Szabó
ccf6ab9ab3
[DOCS] Adds link to tutorial and API docs to trained model autoscaling. (#114904) 2024-10-16 15:47:13 +02:00
Panagiotis Bailis
a7e62f56a1
Removing tech-preview header and updating documentation for retrievers and RRF (#114810) 2024-10-16 09:16:43 +03:00
Benjamin Trent
6c752abc23
Adding new bbq index types behind a feature flag (#114439)
new index types of bbq_hnsw and bbq_flat which utilize the better binary quantization formats. A 32x reduction in memory, with nice recall properties.
2024-10-14 20:13:27 -04:00
kosabogi
7bd6f2ce6a
Expands semantic_text tutorial with hybrid search (#114398)
* Creates a new page for the hybrid search tutorial

* Update docs/reference/search/search-your-data/semantic-text-hybrid-search

Co-authored-by: István Zoltán Szabó <istvan.szabo@elastic.co>

* Update docs/reference/search/search-your-data/semantic-text-hybrid-search

Co-authored-by: István Zoltán Szabó <istvan.szabo@elastic.co>

* Update docs/reference/search/search-your-data/semantic-text-hybrid-search

Co-authored-by: István Zoltán Szabó <istvan.szabo@elastic.co>

* Update docs/reference/search/search-your-data/semantic-text-hybrid-search

Co-authored-by: István Zoltán Szabó <istvan.szabo@elastic.co>

* Update docs/reference/search/search-your-data/semantic-text-hybrid-search

Co-authored-by: István Zoltán Szabó <istvan.szabo@elastic.co>

* Update docs/reference/search/search-your-data/semantic-text-hybrid-search

Co-authored-by: István Zoltán Szabó <istvan.szabo@elastic.co>

* Update docs/reference/search/search-your-data/semantic-text-hybrid-search

Co-authored-by: István Zoltán Szabó <istvan.szabo@elastic.co>

* Update docs/reference/search/search-your-data/semantic-text-hybrid-search

Co-authored-by: István Zoltán Szabó <istvan.szabo@elastic.co>

* Update docs/reference/search/search-your-data/semantic-text-hybrid-search

Co-authored-by: István Zoltán Szabó <istvan.szabo@elastic.co>

* Update docs/reference/search/search-your-data/semantic-text-hybrid-search

Co-authored-by: István Zoltán Szabó <istvan.szabo@elastic.co>

* Adds search  response example

* Update docs/reference/search/search-your-data/semantic-text-hybrid-search

Co-authored-by: István Zoltán Szabó <istvan.szabo@elastic.co>

* Update docs/reference/search/search-your-data/semantic-text-hybrid-search

Co-authored-by: István Zoltán Szabó <istvan.szabo@elastic.co>

* Update docs/reference/search/search-your-data/semantic-text-hybrid-search

Co-authored-by: István Zoltán Szabó <istvan.szabo@elastic.co>

* Update docs/reference/search/search-your-data/semantic-text-hybrid-search

Co-authored-by: István Zoltán Szabó <istvan.szabo@elastic.co>

* Update docs/reference/search/search-your-data/semantic-text-hybrid-search

Co-authored-by: István Zoltán Szabó <istvan.szabo@elastic.co>

* Update docs/reference/search/search-your-data/semantic-text-hybrid-search

Co-authored-by: István Zoltán Szabó <istvan.szabo@elastic.co>

* Update docs/reference/search/search-your-data/semantic-text-hybrid-search

Co-authored-by: István Zoltán Szabó <istvan.szabo@elastic.co>

* Update docs/reference/search/search-your-data/semantic-text-hybrid-search

Co-authored-by: István Zoltán Szabó <istvan.szabo@elastic.co>

---------

Co-authored-by: István Zoltán Szabó <istvan.szabo@elastic.co>
2024-10-14 15:57:00 +02:00
kosabogi
4af241b5d6
Adds note on reindexing existing data for semantic_text usage (#113590)
* Adds note on reindexing existing data for semantic_text usage

* Adds note about full crawl and full sync

* Style guide related fix

* Update docs/reference/search/search-your-data/semantic-search-semantic-text.asciidoc

Co-authored-by: Liam Thompson <32779855+leemthompo@users.noreply.github.com>

---------

Co-authored-by: Liam Thompson <32779855+leemthompo@users.noreply.github.com>
2024-10-08 09:58:18 +02:00
István Zoltán Szabó
fb39147d90
[DOCS] Removes link from semantic text tutorial. (#114038) 2024-10-03 18:36:20 +02:00
Panagiotis Bailis
dc8c20d3b6
Rework RRF to be evaluated during rewrite phase (#112648) 2024-10-03 12:39:13 +03:00
Liam Thompson
5750696069
[DOCS] Add snippet tests to retriever API docs (#113289) 2024-09-23 16:59:01 +02:00
István Zoltán Szabó
9b7d808bf4
[DOCS] Fixes adaptive_allocations examples (#113248)
Co-authored-by: Jan Kuipers <148754765+jan-elastic@users.noreply.github.com>
2024-09-20 11:31:04 +02:00
Liam Thompson
163b2c781f
[DOCS] Fix reranking IA, move retrievers to search api overview (#112949) 2024-09-19 17:20:52 +02:00
István Zoltán Szabó
5153905e7e
[DOCS] Gives more details to the load data step of the semantic search tutorials (#113088)
Co-authored-by: Liam Thompson <32779855+leemthompo@users.noreply.github.com>
2024-09-18 11:37:35 +02:00
István Zoltán Szabó
2371caeb15
[DOCS] Fixes response object indentation in semantic text tutorial (#112915) 2024-09-16 14:40:54 +02:00
István Zoltán Szabó
c2bd0de278
[DOCS] Simplifies semantic_text tutorial by removing copy_to field (#112864) 2024-09-13 16:50:41 +02:00
István Zoltán Szabó
a151bb0bfb
[DOCS] Rework semantic search main page (#112452)
Co-authored-by: Liam Thompson <32779855+leemthompo@users.noreply.github.com>
Co-authored-by: Mike Pellegrini <mike.pellegrini@elastic.co>
2024-09-12 14:09:34 +02:00
Simon Cooper
a36d90cf34
Use CLDR locale provider on JDK 23+ (#110222)
JDK 23 removes the COMPAT locale provider, leaving CLDR as the only option. This commit configures Elasticsearch
to use the CLDR provider when on JDK 23, but still use the existing COMPAT provider when on JDK 22 and below.

This causes some differences in locale behaviour; this also adapts various tests to still work whether run on COMPAT or CLDR.
2024-09-04 13:42:40 +01:00
István Zoltán Szabó
adb23531f9
[DOCS] Adds Google Vertex AI tutorial (#112339)
Co-authored-by: Liam Thompson <32779855+leemthompo@users.noreply.github.com>
2024-08-30 13:17:59 +02:00
Liam Thompson
aa57a1553e
[DOCS] Rewrite "What is Elasticsearch?" (Part 1) (#112213) 2024-08-29 10:13:30 +02:00
weizijun
b9dea69b5c
[Inference API] Add Docs for AlibabaCloud AI Search Support for the Inference API (#112273)
Co-authored-by: István Zoltán Szabó <istvan.szabo@elastic.co>
2024-08-29 09:17:27 +02:00
Panagiotis Bailis
7563a724f0
Updating retriever documentation to better explain how filters are applied (#112201) 2024-08-26 16:15:31 +03:00