Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[che-dev] Lucene search enhancements

Hello,

 

I would like to enhance Lucene search capabilities therefore I created a pull request

( https://github.com/codenvy/che-core/pull/77 ) with following changes:

 

1. queryParser.setAllowLeadingWildcard(true) enables performing contains query ( like *uer* )

2. SimpleAnalyzer uses LetterTokenizer with LowerCaseFilter, that means that it creates tokens by broking a text by non-letter characters, therefore in current implementation it is not possible to search for the text containing special characters. Using WhitespaceTokenizer solves this issue as it creates tokens by broking a text by whitespace.

 

I would very appreciate if you could have a look on this pull request and consider merging it to master.

 

Thanks & Best Regards,

Rima Sirich


Back to the top