-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
CHE-137. Improve full text searching #1215
Conversation
need some test for server side |
-1 |
Build finished. |
1 similar comment
Build finished. |
float: left; | ||
line-height: 22px; | ||
margin: 0 0 0 4px; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
margin-left: 4px;
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank you, Vlad. I'll fix.
@skabashnyuk @vparfonov I've updated pull request, please review. |
@@ -242,15 +242,15 @@ private Query createLuceneQuery(QueryExpression query) throws ServerException { | |||
final String path = query.getPath(); | |||
final String text = query.getText(); | |||
if (path != null) { | |||
luceneQuery.add(new PrefixQuery(new Term("path", path)), BooleanClause.Occur.MUST); | |||
luceneQuery.add(new PrefixQuery(new Term("path", path)), MUST); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should keep BooleanClause.Occur.MUST way. It has much more descriptive.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@skabashnyuk done!
other ok |
OK for me |
ok |
Signed-off-by: Roman Nikitenko <rnikitenko@codenvy.com>
Build # 573 - FAILED Please check console output at http://ci.codenvy-dev.com/jenkins/job/che-pullrequests-build/573/ to view the results. |
before my changes
after my changes
@skabashnyuk @vparfonov @slemeur