Commit Graph

1407 Commits

Author SHA1 Message Date
Jim Ferenczi dbeb55cb3d
Enable Mapped Field Types to Override Default Highlighter (#121176)
This commit introduces the `MappedFieldType#getDefaultHighlighter`, allowing a specific highlighter to be enforced for a field.
The semantic field mapper utilizes this new functionality to set the `semantic` highlighter as the default.
All other fields will continue to use the `unified` highlighter by default.
2025-01-29 21:55:53 +00:00
Peter Straßer 6b76457a23
Fix syntax errors in the rescore retriever example (#121024) 2025-01-29 16:10:59 +01:00
Kofi B 5bcd170a0b
[DOCS] Added additional context to page (#120569) 2025-01-29 09:48:25 +01:00
Kofi B 2258911112
[DOCS] Search multiple indices added info (#120572)
* [DOCS] Search multiple indices added info

* Update docs/reference/search/search-your-data/search-multiple-indices.asciidoc

Co-authored-by: George Wallace <georgewallace@users.noreply.github.com>

* Update docs/reference/search/search-your-data/search-multiple-indices.asciidoc

Co-authored-by: George Wallace <georgewallace@users.noreply.github.com>

* Update docs/reference/search/search-your-data/search-multiple-indices.asciidoc

Co-authored-by: George Wallace <georgewallace@users.noreply.github.com>

* Update docs/reference/search/search-your-data/search-multiple-indices.asciidoc

Co-authored-by: George Wallace <georgewallace@users.noreply.github.com>

* Update docs/reference/search/search-your-data/search-multiple-indices.asciidoc

Co-authored-by: George Wallace <georgewallace@users.noreply.github.com>

---------

Co-authored-by: George Wallace <georgewallace@users.noreply.github.com>
2025-01-29 09:46:39 +01:00
Panagiotis Bailis 375814d007
Adding linear retriever to support weighted sums of sub-retrievers (#120222) 2025-01-28 19:33:12 +02:00
Panagiotis Bailis 8e2044de15
Normalize negative scores for text_similarity_reranker retriever (#120930) 2025-01-28 16:56:47 +02:00
Amine GANI 38ea49a1b9
Fix incorrect use of "updateable" flag in synonyms documentation (#120866)
Co-authored-by: Amine GANI <amine.gani@adelean.com>
Co-authored-by: Carlos Delgado <6339205+carlosdelest@users.noreply.github.com>
2025-01-28 15:39:25 +01:00
Roberto Seldner ddc2362592
Update async-search.asciidoc - Indicating `search.max_async_search_response_size` is a Dynamic (#112758)
Indicating `search.max_async_search_response_size` is a Dynamic setting here as it does not appear to be documented elsewhere.
2025-01-28 11:39:10 +01:00
Marci W abeb60ff1e
[DOCS] Count API: clarify ways to specify search query (#120564)
* Clarify query methods; other sprucing

* Apply suggestions from review
2025-01-22 18:05:00 -05:00
Andrei Stefan cdf7be27ea
Update search-across-clusters.asciidoc to reflect the `true` default value of `skip_unavailable` setting. (#120592) 2025-01-22 16:04:56 +02:00
Panagiotis Bailis 3e6b8bf51a
Fix for rrf documentation test using a knn retriever (#120112) 2025-01-21 19:32:45 +02:00
Carlos Delgado aea4853069
[Docs] kNN vector rescoring for quantized vectors (#118425) 2025-01-17 17:02:09 +01:00
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