Lines Matching refs:project

78  * one index database per project.
85 private Project project;
116 * Create a new instance of an Index Database for a given project
117 * @param project the project to create the database for
120 public IndexDatabase(Project project) throws IOException {
121 this.project = project;
149 for (Project project : config.getProjects()) {
150 dbs.add(new IndexDatabase(project));
190 Project project = Project.getProject(path);
191 if (project == null && config.hasProjects()) {
192 logger.warning("Could not find a project for '" + path + "'");
196 if (project == null) {
199 db = new IndexDatabase(project);
243 if (project != null) {
244 indexDir = new File(indexDir, project.getPath());
245 spellDir = new File(spellDir, project.getPath());
282 * By default the indexer will traverse all directories in the project.
346 if (project == null) {
349 directories.add(project.getPath());
431 for (Project project : config.getProjects()) {
432 dbs.add(new IndexDatabase(project));
753 * Check if a file is local to the current project. If we don't have
768 if (project.equals(Project.getProject(relPath))) {
769 // File is under the current project, so it's local.
925 for (Project project : config.getProjects()) {
926 IndexDatabase db = new IndexDatabase(project);
931 Project project = Project.getProject(path);
932 if (project == null) {
933 logger.warning("Could not find a project for '"
936 IndexDatabase db = new IndexDatabase(project);
980 for (Project project : config.getProjects()) {
981 IndexDatabase db = new IndexDatabase(project);
986 Project project = Project.getProject(path);
987 if (project == null) {
988 logger.warning("Could not find a project for '" + path + "'");
990 IndexDatabase db = new IndexDatabase(project);
1123 return (this.project == other.project)
1124 || (this.project != null && this.project.equals(other.project));
1133 hash = 41 * hash + (this.project == null ? 0 : this.project.hashCode());
1142 return (project == null ? "" : project.getDescription()) + " Lucene IndexDB";