apache / apache/lucene

filter eclipse-build from eclipse file search [LUCENE-5955]

Open
#7,017 1 comment 0 reactions 0 assignees View on GitHub
affects-version:4.10 legacy-jira-fix-version:5.0 legacy-jira-fix-version:6.0 legacy-jira-priority:Minor tool:build type:bug
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

When doing a file search in the eclipse project built with "ant eclipse", the eclipse-build directory gets searched. This results in about twice as many files being searched, so it takes about twice as long as it should. I would expect eclipse to automatically skip that directory because it knows that directory is its own build target, but it doesn't seem that eclipse is that smart.

---
Migrated from [LUCENE-5955](https://issues.apache.org/jira/browse/LUCENE-5955) by Shawn Heisey (@elyograg), updated May 09 2016
Attachments: [LUCENE-5955.patch](https://apache.github.io/lucene-jira-archive/attachments/LUCENE-5955/LUCENE-5955.patch)

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the attached LUCENE-5955.patch and the Eclipse project configuration generated by "ant eclipse". Confirm how eclipse-build enters file search, then make the configuration exclude that directory and verify that Eclipse file search no longer scans it.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.