Skip to content

Support filter params in graphlookup - #5134

Merged
LantaoJin merged 4 commits into
opensearch-project:feature/graphlookupfrom
qianheng-aws:poc/graphlookup
Feb 11, 2026
Merged

LantaoJin merged 4 commits into
opensearch-project:feature/graphlookupfrom
qianheng-aws:poc/graphlookup

Conversation

@qianheng-aws

@qianheng-aws qianheng-aws commented Feb 11, 2026 •

Copy link
Copy Markdown
Collaborator

Description

[Describe what this change achieves]

Related Issues

Resolves #[Issue number to be closed when this PR is merged]

Check List

  • New functionality includes testing.
  • New functionality has been documented.
  • New functionality has javadoc added.
  • New functionality has a user manual doc added.
  • New PPL command checklist all confirmed.
  • API changes companion pull request created.
  • Commits are signed per the DCO using --signoff or -s.
  • Public documentation issue/PR created.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@coderabbitai

coderabbitai Bot commented Feb 11, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Comment @coderabbitai help to get the list of available commands and usage tips.

@qianheng-aws qianheng-aws changed the title Poc/graphlookup Support filter params in graphlookup Feb 11, 2026
Signed-off-by: Heng Qian <[email protected]>
@qianheng-aws qianheng-aws added the enhancement New feature or request label Feb 11, 2026
Comment thread docs/user/ppl/cmd/graphlookup.md Resolved
@LantaoJin
LantaoJin merged commit a6cd0b8 into opensearch-project:feature/graphlookup Feb 11, 2026
36 checks passed
LantaoJin pushed a commit to LantaoJin/search-plugins-sql that referenced this pull request Feb 12, 2026
* Struct return array value instead of string

Signed-off-by: Heng Qian <[email protected]>

* Support filter in GraphLookup

Signed-off-by: Heng Qian <[email protected]>

* Fix IT

Signed-off-by: Heng Qian <[email protected]>

* Add experimental tag in doc

Signed-off-by: Heng Qian <[email protected]>

---------

Signed-off-by: Heng Qian <[email protected]>
Signed-off-by: Lantao Jin <[email protected]>
qianheng-aws added a commit that referenced this pull request Feb 25, 2026
#5138)

* Support bi-directional graph traversal command `graphlookup` (#5113)

* succeed to graph lookup single index

Signed-off-by: Lantao Jin <[email protected]>

* Implement graph lookup RelNode

Signed-off-by: Heng Qian <[email protected]>

* Refine - remove depth from BFS node

Signed-off-by: Heng Qian <[email protected]>

* Support bidirectional mode

Signed-off-by: Heng Qian <[email protected]>

* Support anonymize graph lookup

Signed-off-by: Heng Qian <[email protected]>

* Fix UT

Signed-off-by: Heng Qian <[email protected]>

* Add IT

Signed-off-by: Heng Qian <[email protected]>

* Add limitation for GraphLookup

Signed-off-by: Heng Qian <[email protected]>

* Simplify GraphLookup param names

Signed-off-by: Heng Qian <[email protected]>

* Refine IT

Signed-off-by: Heng Qian <[email protected]>

* Support value of list; Support retrieve circle edges also

Signed-off-by: Heng Qian <[email protected]>

* Add documentation for graph lookup

Signed-off-by: Heng Qian <[email protected]>

* Don't include loop edges

Signed-off-by: Heng Qian <[email protected]>

* Refine code

Signed-off-by: Heng Qian <[email protected]>

* spotlessApply

Signed-off-by: Heng Qian <[email protected]>

* Refine code

Signed-off-by: Heng Qian <[email protected]>

* Filter visited nodes in search query

Signed-off-by: Heng Qian <[email protected]>

* Fix UT

Signed-off-by: Heng Qian <[email protected]>

* Add parameter supportArray for handling fields with array values

Signed-off-by: Heng Qian <[email protected]>

* Remove unused code

Signed-off-by: Heng Qian <[email protected]>

* Support batch mode

Signed-off-by: Heng Qian <[email protected]>

* Close lookup table scan

Signed-off-by: Heng Qian <[email protected]>

* refine code

Signed-off-by: Heng Qian <[email protected]>

* Add param usePIT

Signed-off-by: Heng Qian <[email protected]>

---------

Signed-off-by: Lantao Jin <[email protected]>
Signed-off-by: Heng Qian <[email protected]>
Co-authored-by: Lantao Jin <[email protected]>

* Struct return array value instead of string

Signed-off-by: Heng Qian <[email protected]>

* Support filter in GraphLookup

Signed-off-by: Heng Qian <[email protected]>

* Fix IT

Signed-off-by: Heng Qian <[email protected]>

* Add experimental tag in doc

Signed-off-by: Heng Qian <[email protected]>

* Support filter params in graphlookup (#5134)

* Struct return array value instead of string

Signed-off-by: Heng Qian <[email protected]>

* Support filter in GraphLookup

Signed-off-by: Heng Qian <[email protected]>

* Fix IT

Signed-off-by: Heng Qian <[email protected]>

* Add experimental tag in doc

Signed-off-by: Heng Qian <[email protected]>

---------

Signed-off-by: Heng Qian <[email protected]>

* Address comments

Signed-off-by: Heng Qian <[email protected]>

---------

Signed-off-by: Lantao Jin <[email protected]>
Signed-off-by: Heng Qian <[email protected]>
Co-authored-by: qianheng <[email protected]>
@qianheng-aws
qianheng-aws deleted the poc/graphlookup branch March 26, 2026 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants