Skip to content

add support for exist in query language#3800

Merged
trinity-1686a merged 3 commits intomainfrom
trinity--exists-query-syntax
Sep 20, 2023
Merged

add support for exist in query language#3800
trinity-1686a merged 3 commits intomainfrom
trinity--exists-query-syntax

Conversation

@trinity-1686a
Copy link
Copy Markdown
Contributor

@trinity-1686a trinity-1686a commented Sep 4, 2023

Description

fix #3714

How was this PR tested?

tested manually

Could probably use some tests

@trinity-1686a trinity-1686a force-pushed the trinity--exists-query-syntax branch from 94d197f to f3d97f3 Compare September 4, 2023 16:25
@trinity-1686a trinity-1686a force-pushed the trinity--exists-query-syntax branch from f3d97f3 to 81e9536 Compare September 19, 2023 10:05
@trinity-1686a trinity-1686a marked this pull request as ready for review September 19, 2023 10:05
@trinity-1686a
Copy link
Copy Markdown
Contributor Author

trinity-1686a commented Sep 19, 2023

it seems recent tantivy wants more memory for some arena. I increased a value in some place and tests now passes, but I'm suspicious of whether this other place needs changes too.

index_builder.single_segment_index_writer(controlled_directory.clone(), 10_000_000)?;

@PSeitz would you know that by any chance?

@PSeitz
Copy link
Copy Markdown
Collaborator

PSeitz commented Sep 19, 2023

it seems recent tantivy wants more memory for some arena. I increased a value in some place and tests now passes, but I'm suspicious of whether this other place needs changes too.

index_builder.single_segment_index_writer(controlled_directory.clone(), 10_000_000)?;

@PSeitz would you know that by any chance?

Yes, 15_000_000 is the minimum now.

this seems required by some recent change in tantivy
@trinity-1686a trinity-1686a force-pushed the trinity--exists-query-syntax branch from 3d7f39a to 99753f6 Compare September 20, 2023 09:43
@trinity-1686a trinity-1686a merged commit 46a4dc4 into main Sep 20, 2023
@trinity-1686a trinity-1686a deleted the trinity--exists-query-syntax branch September 20, 2023 10:09
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.

Add support for field:* in the query grammar.

3 participants