Skip to content

0.12.0

Compare
Choose a tag to compare
@mmoriniere mmoriniere released this 14 Oct 13:17
· 8 commits to master since this release

Changed

  • Boost can be implicit ; by default, the boost factor is 1

Added

  • Add support for Lucene and Elasticsearch Boolean operations (#71, thanks to @linefeedse):

    • Introduce the BooleanOperation
    • add its resolution in ElasticSearch transformer
    • add it as a possible resolver for the unknown operation (no explicit operator in query)
  • Set E element as ElasticsearchQueryBuilder's attributes (#75, thanks to @qcoumes):

    This allows to override elements such as EMust, EWord, ...,
    without the need of overriding ElasticsearchQueryBuilder's methods.

  • Explicit support for Python 3.9 and Python 3.10 (#76)

  • Add a thread safe parse function (#82)

Fixed

  • Cast TokenValue.str return value to string (#74, thanks to @delkopiso)
  • Isolated comma should be parsed as a Word (#80)
  • Better handling of escaped wildcards

Docs

  • Add boolean operation to doc
  • Fix quick start documentation
  • Updated readthedocs instructions

CI

  • Run tests with github actions

  • Update all libraries for dev:

    • switch from nose to pytest as nose is not python3.10 compatible
    • remove old travis tests