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

In the Lucene Index Setting configure the custom fields to be normalized. #17642

Open
gaojianzhuang opened this issue Mar 17, 2025 · 0 comments

Comments

@gaojianzhuang
Copy link

Orchardcore Version: 2.1.6

Pain point:
When the user input the lower case word, the Lucene query cannot match any results if the word case incentive although we use the WildcardQuery in my customized query service. Because we cannot set the store data to lower case when the analyzer executing.

When we create a new field for the content type, we can set the "Lucene Index Setting".
Image

After saved it, then rebuild with Lucene index, then we check it from the query result.

Image

We cann't set the field to normalize just like the display text field.

Image

Anyone can give me some suggestions for my case? Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant