Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LUCENE-8287: In ContextQuery, use a more comprehensive check for an empty prefix automaton #383

Merged
merged 1 commit into from
Jan 2, 2021

Conversation

jtibshirani
Copy link
Member

@jtibshirani jtibshirani commented May 25, 2018

Follow-up to #375.

@madrob
Copy link
Contributor

madrob commented Dec 23, 2020

Going through old patches trying to clean some up before the end of the year. @jtibshirani this patch looks good to me, would you like to commit it?

@jtibshirani
Copy link
Member Author

Thanks @madrob for pinging on this, I'll commit in the next few days.

@jtibshirani jtibshirani changed the title In ContextQuery, use a more comprehensive check for an empty prefix automaton. LUCENE-8287: In ContextQuery, use a more comprehensive check for an empty prefix automaton Jan 1, 2021
@jtibshirani jtibshirani merged commit beb163c into apache:master Jan 2, 2021
@jtibshirani jtibshirani deleted the bugfix/empty-context-query branch January 2, 2021 04:40
jtibshirani added a commit that referenced this pull request Jan 2, 2021
…utomaton. (#383)

Context queries check if the wrapped automaton is empty, and if so return an
empty automaton. This commit improves the check for empty automata, which
allows for handling an empty PrefixCompletionQuery as well.
uschindler pushed a commit to uschindler/lucene-solr that referenced this pull request Jan 6, 2021
…utomaton. (apache#383)

Context queries check if the wrapped automaton is empty, and if so return an
empty automaton. This commit improves the check for empty automata, which
allows for handling an empty PrefixCompletionQuery as well.
ctargett pushed a commit to ctargett/lucene-solr that referenced this pull request Jan 11, 2021
…utomaton. (apache#383)

Context queries check if the wrapped automaton is empty, and if so return an
empty automaton. This commit improves the check for empty automata, which
allows for handling an empty PrefixCompletionQuery as well.
epugh pushed a commit to epugh/lucene-solr-1 that referenced this pull request Jan 15, 2021
…utomaton. (apache#383)

Context queries check if the wrapped automaton is empty, and if so return an
empty automaton. This commit improves the check for empty automata, which
allows for handling an empty PrefixCompletionQuery as well.
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.

2 participants