Skip to content

update master#21

Open
defgsus wants to merge 29 commits into
masterfrom
development
Open

update master#21
defgsus wants to merge 29 commits into
masterfrom
development

Conversation

@defgsus

@defgsus defgsus commented Mar 4, 2025

Copy link
Copy Markdown
Collaborator

No description provided.

…ng without terminal)

As is seems, travis has a "terminal" somehow and github actions doesn't.
remove the different python versions for now until i know it works
merge search request 'body' and 'params' together when elasticsearch version >= 8
- highlught supports all parameters from current 8.0.0 docs and
global as well as field levels.

- Search instance now supports both version 7 and 8 via an init parameter.
  Defaults to elasticsearch-py major version

- more version specific details and unittests
previously, `bool.should` entries were concatenated in `__and__` calls.
Now query A and B are wrapped in a container `bool.must=[A, B]` if
a `should` entry exists in A or B.
If not, the `must`, `must_not` and `filter` entries are still concatenated,
which, i think, is perfectly valid because they all represent AND combinations.
Actually, i see no reason why a `bool` query A's entries should not be concatenated
with B's entries, as long as B has no `should` entries. If only A has `should`
entries then they are ANDed with A's other entries anyway.
…ries exists in A nor B

also avoid adding duplicates
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant