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

CHE-2816. Correctly applying exclude filters at indexing files #2857

Merged
merged 1 commit into from
Oct 25, 2016

Conversation

RomanNikitenko
Copy link
Member

@RomanNikitenko RomanNikitenko commented Oct 21, 2016

What does this PR do?

  • avoid to duplicate '*' for searching request
  • correctly applying exclude filters at indexing files

Current behavior: we need to have exclude filters here https://github.com/eclipse/che/blob/master/wsagent/che-core-api-project/src/main/java/org/eclipse/che/api/vfs/search/impl/LuceneSearcher.java#L95
and we have some filters for files that should NOT be indexed. But org.eclipse.che.api.vfs.search.MediaTypeFilter includes in result files that SHOULD be indexed.
New behavior: the media type filter will include in result files with media type that should NOT be indexed.

What issues does this PR fix or reference?

#2816

Signed-off-by: Roman Nikitenko rnikitenko@codenvy.com

@codenvy-ci
Copy link

Build # 760 - FAILED

Please check console output at https://ci.codenvycorp.com/job/che-pullrequests-build/760/ to view the results.

Copy link
Contributor

@skabashnyuk skabashnyuk left a comment

Choose a reason for hiding this comment

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

correctly applying exclude filters at indexing files
This is an unclear statement. Please specify why and how are you going to fix it.

@RomanNikitenko
Copy link
Member Author

@skabashnyuk I've added some explanation to clarify how I'm going to fix it

Signed-off-by: Roman Nikitenko <rnikitenko@codenvy.com>
@codenvy-ci
Copy link

Build # 795 - FAILED

Please check console output at https://ci.codenvycorp.com/job/che-pullrequests-build/795/ to view the results.

@bmicklea bmicklea added this to the 5.0.0 milestone Jan 11, 2017
JPinkney pushed a commit to JPinkney/che that referenced this pull request Aug 17, 2017
…se-che#2857)

Signed-off-by: Roman Nikitenko <rnikitenko@codenvy.com>
This pull request was closed.
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.

5 participants