Skip to content

DEVEXP-650 Fixing search that includes metadata values - #1622

Merged
rjrudin merged 1 commit into
developfrom
feature/650-metadatavalues-fix
Nov 30, 2023
Merged

DEVEXP-650 Fixing search that includes metadata values#1622
rjrudin merged 1 commit into
developfrom
feature/650-metadatavalues-fix

Conversation

@rjrudin

@rjrudin rjrudin commented Nov 29, 2023

Copy link
Copy Markdown
Contributor

Need to use "toString()" instead of "name()" so that "metadatavalues" is converted into "metadata-values". This works fine for reading documents but not for searching documents.

while (page.hasNext()) {
DocumentRecord record = page.next();
assertEquals("/metadata/test.xml", record.getUri());
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Would it be worth asserting that the metadataValue was returned?

Need to use "toString()" instead of "name()" so that "metadatavalues" is converted into "metadata-values". This works fine for reading documents but not for searching documents.
@rjrudin
rjrudin requested a review from BillFarber November 29, 2023 23:52
@rjrudin
rjrudin force-pushed the feature/650-metadatavalues-fix branch from 2583f06 to 9c4b4c1 Compare November 29, 2023 23:58
@rjrudin
rjrudin merged commit 4ec0e41 into develop Nov 30, 2023
@rjrudin
rjrudin deleted the feature/650-metadatavalues-fix branch November 30, 2023 12:48
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