Commit Graph

78 Commits

Author SHA1 Message Date
Brett Porter 7a5b4547af clean up some issues and bugs highlighted by inspections
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@417674 13f79535-47bb-0310-9956-ffa450edef68
2006-06-28 05:45:08 +00:00
Edwin L. Punzalan 1e5e969496 Changed boolean Digester methods to throw an exception instead for a more informative failure reason
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@414745 13f79535-47bb-0310-9956-ffa450edef68
2006-06-16 06:01:50 +00:00
Edwin L. Punzalan 4e9afa78cb Updated some javadocs
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@414549 13f79535-47bb-0310-9956-ffa450edef68
2006-06-15 10:50:19 +00:00
Edwin L. Punzalan 78f88941cf Improved the indexing module
* added addDocuments and deleteDocuments methods
* hid some unused methods
* did some performance optimization
* made validate to be called only in the class constructor


git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@414538 13f79535-47bb-0310-9956-ffa450edef68
2006-06-15 10:25:38 +00:00
Brett Porter 86db5311d4 [MRM-46] introduce modello configuration, change indexer API to use a File for the index path, introduce a core module for moving the main application logic to
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@412683 13f79535-47bb-0310-9956-ffa450edef68
2006-06-08 07:15:34 +00:00
Brett Porter f3a4d92ba5 [MRM-118] clean up comments after some investigation
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@412651 13f79535-47bb-0310-9956-ffa450edef68
2006-06-08 04:35:49 +00:00
Brett Porter eba7bf274a [MRM-118] refactor the searchers into components any make them thread safe
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@412642 13f79535-47bb-0310-9956-ffa450edef68
2006-06-08 03:54:06 +00:00
Brett Porter 2ace38a72f [MRM-118] remove code that manually constructs repository paths
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@412631 13f79535-47bb-0310-9956-ffa450edef68
2006-06-08 02:19:01 +00:00
Brett Porter 7ccdd0eb09 some webapp task completion
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@412341 13f79535-47bb-0310-9956-ffa450edef68
2006-06-07 09:22:10 +00:00
Brett Porter 85d48bdf93 some more notes
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@412324 13f79535-47bb-0310-9956-ffa450edef68
2006-06-07 08:19:57 +00:00
Brett Porter 6f8e0cea47 remove some duplicates
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@412303 13f79535-47bb-0310-9956-ffa450edef68
2006-06-07 06:23:12 +00:00
Brett Porter 8aad68cfe4 general clean up, addition of copyrights
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@412295 13f79535-47bb-0310-9956-ffa450edef68
2006-06-07 05:47:45 +00:00
Brett Porter c36f7f427c clean up, use IOUtil
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@412289 13f79535-47bb-0310-9956-ffa450edef68
2006-06-07 04:38:04 +00:00
Brett Porter 179af2ebd5 refactor queries
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@412288 13f79535-47bb-0310-9956-ffa450edef68
2006-06-07 04:32:17 +00:00
Brett Porter ce80e898d9 refactor indexer to remove large section of duplicated code
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@412023 13f79535-47bb-0310-9956-ffa450edef68
2006-06-06 07:08:27 +00:00
Maria Odea B. Ching e5902ec9e5 PR: MRM-112
Added checking if the index directory already exists but is empty, proceed with the indexing.

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@410722 13f79535-47bb-0310-9956-ffa450edef68
2006-06-01 03:16:31 +00:00
Brett Porter d63c3ebf03 correct timestamp issues in tests
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@389172 13f79535-47bb-0310-9956-ffa450edef68
2006-03-27 15:35:46 +00:00
Brett Porter e6c475550f make test case portable
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@385962 13f79535-47bb-0310-9956-ffa450edef68
2006-03-15 03:33:09 +00:00
Brett Porter 7314515532 make test case portable
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@385961 13f79535-47bb-0310-9956-ffa450edef68
2006-03-15 03:28:17 +00:00
Edwin L. Punzalan 679c02737a PR: MRM-81
Submitted by: John Tolentino

Applied second patch

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@382358 13f79535-47bb-0310-9956-ffa450edef68
2006-03-02 11:52:59 +00:00
Edwin L. Punzalan 43b79ffe9d Fixed a unit test bug that would vary the timestamp of a file on a different machine.
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@381999 13f79535-47bb-0310-9956-ffa450edef68
2006-03-01 12:04:28 +00:00
Edwin L. Punzalan a6887b9758 Demoted the analyzer into an inner class
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@381621 13f79535-47bb-0310-9956-ffa450edef68
2006-02-28 10:05:43 +00:00
Edwin L. Punzalan 1604310157 PR: MRM-91
Added a second index object with the option to create an archived copy

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@381609 13f79535-47bb-0310-9956-ffa450edef68
2006-02-28 09:42:39 +00:00
Edwin L. Punzalan 43fc91d333 Applying code formatting...
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@379656 13f79535-47bb-0310-9956-ffa450edef68
2006-02-22 02:40:21 +00:00
Edwin L. Punzalan edd8a998aa PR: MRM-57, MRM-58
Submitted by: Maria Odea Ching

patch fix for general search

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@379654 13f79535-47bb-0310-9956-ffa450edef68
2006-02-22 02:39:04 +00:00
Edwin L. Punzalan f6bd2f7e05 Deleted 0 length unused files
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@377320 13f79535-47bb-0310-9956-ffa450edef68
2006-02-13 08:18:27 +00:00
Edwin L. Punzalan b06ee5cab3 PR: MRM-69
Patch for querying everything

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@376221 13f79535-47bb-0310-9956-ffa450edef68
2006-02-09 08:38:00 +00:00
Brett Porter ad0403b208 small tweaks
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@373419 13f79535-47bb-0310-9956-ffa450edef68
2006-01-30 03:09:30 +00:00
Edwin L. Punzalan 940e56f246 Submitted by: Maria Odea Ching
Addresses code concerns raised by brett in the dev mailing list.

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@373417 13f79535-47bb-0310-9956-ffa450edef68
2006-01-30 02:51:46 +00:00
Edwin L. Punzalan 49265d7791 PR: MRM-55
Submitted by: Maria Odea Ching

Checked the index for a duplicate and delete it if one exists

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@372138 13f79535-47bb-0310-9956-ffa450edef68
2006-01-25 07:04:13 +00:00
Edwin L. Punzalan 1e14d74abc PR: MRM-56
Submitted by: Maria Odea Ching

Enabled Index delete document.  Also did some refractoring and code formatting.

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@371476 13f79535-47bb-0310-9956-ffa450edef68
2006-01-23 07:27:58 +00:00
Edwin L. Punzalan 05f70157b7 PR: MRM-35
Submitted by: Maria Odea Ching

Added more unit tests

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@369655 13f79535-47bb-0310-9956-ffa450edef68
2006-01-17 03:24:59 +00:00
Edwin L. Punzalan 12e8c4d60d PR: MEV-35
Submitted by: Maria Odea Ching

Applied patch for indexing metadata and for searching the metadata index

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@369402 13f79535-47bb-0310-9956-ffa450edef68
2006-01-16 08:53:09 +00:00
Edwin L. Punzalan ee07aad593 Applied Reformat Code with optimize imports on Idea
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@367471 13f79535-47bb-0310-9956-ffa450edef68
2006-01-10 03:15:34 +00:00
Edwin L. Punzalan ec0735c119 Added javadocs
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@367470 13f79535-47bb-0310-9956-ffa450edef68
2006-01-10 03:12:17 +00:00
Brett Porter d56ac4730c remove unused index method - we already obtain the actual instance
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@367192 13f79535-47bb-0310-9956-ffa450edef68
2006-01-09 04:29:27 +00:00
Brett Porter d23ce4c8e0 remove unnecessary methods on index
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@367174 13f79535-47bb-0310-9956-ffa450edef68
2006-01-09 03:27:30 +00:00
Brett Porter 5dc3b36312 some cleanup
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@367162 13f79535-47bb-0310-9956-ffa450edef68
2006-01-09 02:22:14 +00:00
Brett Porter dfe1b9b09f indexing simplification
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@367160 13f79535-47bb-0310-9956-ffa450edef68
2006-01-09 02:16:47 +00:00
Brett Porter d9fa724185 restructure querying to make construction more intuitive
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@367157 13f79535-47bb-0310-9956-ffa450edef68
2006-01-09 01:47:23 +00:00
Edwin L. Punzalan 34051c6ab3 PR: MRM-34
Added unit tests and refactored some common code

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@366445 13f79535-47bb-0310-9956-ffa450edef68
2006-01-06 07:19:12 +00:00
Edwin L. Punzalan a3cadd446f Reformat code
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@366113 13f79535-47bb-0310-9956-ffa450edef68
2006-01-05 08:01:05 +00:00
Edwin L. Punzalan cd29b31cc0 PR: MRM-34
Added Pom indexer and searcher.  Also refactored some common code.

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@366112 13f79535-47bb-0310-9956-ffa450edef68
2006-01-05 08:00:17 +00:00
Edwin L. Punzalan 971aa0de8e reformat code by IntelliJ code formatter using maven codestyle xml
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@366107 13f79535-47bb-0310-9956-ffa450edef68
2006-01-05 07:25:47 +00:00
Edwin L. Punzalan fb86ea58d6 PR: MRM-44
Submitted by: Maria Odea Ching

Patch for searching by groupId, artifactId, version, name, package, class, and file.  Also allowed nested searching using AND and OR.

Refactored the Searcher for common code and placed them inside an Abstract class.

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@366106 13f79535-47bb-0310-9956-ffa450edef68
2006-01-05 07:20:26 +00:00
Edwin L. Punzalan 516ebb6b95 Removing @todos ...
the methods in Abstract are all lucene index methods/validations which can be used by pom and metadata indices

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@365835 13f79535-47bb-0310-9956-ffa450edef68
2006-01-04 06:12:34 +00:00
Edwin L. Punzalan d2abff1bda PR: MRM-54
Added unit tests and fixed missing implements in AbstractCompoundQuery

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@365806 13f79535-47bb-0310-9956-ffa450edef68
2006-01-04 03:09:05 +00:00
Edwin L. Punzalan 02f621dc54 PR: MRM-54
Added Query classes for index searching

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@365802 13f79535-47bb-0310-9956-ffa450edef68
2006-01-04 02:27:06 +00:00
Edwin L. Punzalan 8ad8ba83ef Removed unused imports
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@365595 13f79535-47bb-0310-9956-ffa450edef68
2006-01-03 09:57:08 +00:00
Edwin L. Punzalan 821efbbe2b Updated ArtifactRepositoryIndexSearcher to use factory
git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@365594 13f79535-47bb-0310-9956-ffa450edef68
2006-01-03 09:55:29 +00:00