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

[Clean up] Separate TextIndex from InvertedIndex #6010

Merged
merged 1 commit into from
Sep 17, 2020

Conversation

Jackie-Jiang
Copy link
Contributor

Description

Introduce TextIndexCreator and TextIndexReader for text index

@@ -42,14 +43,14 @@
InvertedIndexReader<?> getInvertedIndex();

/**
* Returns the inverted index for the column, or {@code null} if it does not exist.
* Returns the range index for the column, or {@code null} if it does not exist.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we planning to do similar cleanup for range index as well? It is also based off InvertedIndex (for the same reasons why TextIndex was based)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, will do that in a separate PR. We need to design the interface for the range index

Copy link
Contributor

@siddharthteotia siddharthteotia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks for this cleanup

@Jackie-Jiang Jackie-Jiang merged commit e72a856 into apache:master Sep 17, 2020
@Jackie-Jiang Jackie-Jiang deleted the separate_text_index branch September 17, 2020 19:56
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.

None yet

2 participants