Olivier Lamy
7a2b07b118
oups fix compilation
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1158299 13f79535-47bb-0310-9956-ffa450edef68
2011-08-16 14:42:28 +00:00
Olivier Lamy
c7607a63e5
a little hackhish but fix use with tomcat maven plugin, sisu need a URLClassLoader as TCL to be able to use lookupList
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1158272 13f79535-47bb-0310-9956-ffa450edef68
2011-08-16 13:50:45 +00:00
Olivier Lamy
5c5c959a14
improve toString for debuging purpose
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1158135 13f79535-47bb-0310-9956-ffa450edef68
2011-08-16 07:16:56 +00:00
Olivier Lamy
1776b31a4b
cleanup creation of IndexCreator with using the container rather than using default constructors
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1158035 13f79535-47bb-0310-9956-ffa450edef68
2011-08-15 22:17:08 +00:00
Olivier Lamy
7a354f09ed
[MRM-1501] search on artifacts with OSGI Metadatas fields
...
modify SearchResultSearchResultHitSearchResultHit to return osgi metadata
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1158023 13f79535-47bb-0310-9956-ffa450edef68
2011-08-15 21:28:13 +00:00
Olivier Lamy
c1abddcaf9
[MRM-1501] add unit for searching with osgi query
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1158021 13f79535-47bb-0310-9956-ffa450edef68
2011-08-15 21:27:48 +00:00
Brett Porter
23e2f88dfb
[MRM-1344] multiple versions appear in search results
...
Submitted by: Greg Michael Meneses
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1140464 13f79535-47bb-0310-9956-ffa450edef68
2011-06-28 07:31:13 +00:00
Olivier Lamy
a4dd3b2ff6
[MRM-1345] update use of Nexus indexer to use Maven indexer
...
fix junits
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1139941 13f79535-47bb-0310-9956-ffa450edef68
2011-06-26 20:54:44 +00:00
Olivier Lamy
a20d601f8e
[MRM-1345] update use of Nexus indexer to use Maven indexer
...
remove the per-lookup component
refactor test to use only NexusIndexer facade
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1139940 13f79535-47bb-0310-9956-ffa450edef68
2011-06-26 20:54:21 +00:00
Olivier Lamy
8ae8adccb9
NexusRepositorySearch is not thread safe so use scope prototype
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1138211 13f79535-47bb-0310-9956-ffa450edef68
2011-06-21 22:14:17 +00:00
Olivier Lamy
1666960349
debug optim
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1138209 13f79535-47bb-0310-9956-ffa450edef68
2011-06-21 22:13:17 +00:00
Maria Odea B. Ching
1af82ff7d8
use getBasedir() in FileUtil in archiva-common
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135993 13f79535-47bb-0310-9956-ffa450edef68
2011-06-15 11:03:10 +00:00
Olivier Lamy
a9b50a0fe0
no need of svn:executable for xml file
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128214 13f79535-47bb-0310-9956-ffa450edef68
2011-05-27 09:38:14 +00:00
Olivier Lamy
7eebed1423
fix unit tests spring configuration in archiva-indexer
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128212 13f79535-47bb-0310-9956-ffa450edef68
2011-05-27 09:34:43 +00:00
Brett Porter
deba382d42
[MRM-1436] better Map handling
...
Submitted by: Dave Brosius
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1040919 13f79535-47bb-0310-9956-ffa450edef68
2010-12-01 09:48:32 +00:00
Maria Odea B. Ching
bc56d6353c
[MRM-1097]
...
o upgrade nexus indexer to 3.0.1 + added logger bean which is needed by NexusIndexer
o for deployments/proxied artifacts, create and close indexing context when indexing task is executed as compared to the original behavior where the indexing context is created
before it is queued (so as the indexing task queue builds up, more indexing contexts are being opened/created which might be causing the too many open files problem)
o updated unit tests with changes made
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1039004 13f79535-47bb-0310-9956-ffa450edef68
2010-11-25 11:20:47 +00:00
Jevica Arianne B. Zurbano
158fea721b
* moved the creation of index into its own method
...
* renamed createIndexForQuickSearch to createSimpleIndex to be used in Advanced Search tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@944651 13f79535-47bb-0310-9956-ffa450edef68
2010-05-15 14:41:11 +00:00
Jevica Arianne B. Zurbano
71f252b734
[MRM-1125] - default search should be AND not OR for multiple keywords
...
* applied patch
* added additional unit and selenium tests for quick search
Submitted by: Gwen Harold Autencio
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@944632 13f79535-47bb-0310-9956-ffa450edef68
2010-05-15 12:56:34 +00:00
Jevica Arianne B. Zurbano
6a2661f866
[MRM-1345] MRM-1345 update use of Nexus indexer
...
* applied patch
* moved the constant in a new class
Submitted by: Gwen Harold Autencio
updated dependency versions:
* nexus-indexer 2.0.5
* plexus-utils 1.5.5
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@938402 13f79535-47bb-0310-9956-ffa450edef68
2010-04-27 10:29:58 +00:00
Brett Porter
9975401b34
[MRM-1025] remove unused dependencies
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@888661 13f79535-47bb-0310-9956-ffa450edef68
2009-12-09 00:34:57 +00:00
Brett Porter
bfd5ffb44a
cleanup javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@882061 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 07:16:29 +00:00
Brett Porter
36042466c5
remove unused vars
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@825074 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14 09:59:25 +00:00
Maria Odea B. Ching
16b13f831a
[MRM-1254] Add more unit tests for searching artifacts
...
o more unit tests for advanced search and quick search (code coverage is now 88%)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@824257 13f79535-47bb-0310-9956-ffa450edef68
2009-10-12 08:08:29 +00:00
Maria Odea B. Ching
ecb90855a1
[MRM-1254] Add more unit tests for searching artifacts
...
o added test for searching artifacts with numeric values in the artifactId using advanced search (MRM-981)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@823505 13f79535-47bb-0310-9956-ffa450edef68
2009-10-09 10:28:52 +00:00
Maria Odea B. Ching
fa24587f89
[MRM-1188]
...
o put all indexing tasks (add, update and remove) into one queue; tasks added by NexusIndexerConsumer and LuceneCleanupRemoveIndexedConsumers
o all index updates are performed by ArchivaIndexingTaskExecutor
o added and updated tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@778093 13f79535-47bb-0310-9956-ffa450edef68
2009-05-24 06:11:19 +00:00
Maria Odea B. Ching
02a22f45a5
[MRM-1161], [MRM-1179], [MRM-1143] and [MRM-1160]
...
o upgraded nexus indexer to 2.0.0
o queue all indexing tasks to avoid interrupting a current indexing task being executed
o cleaned up nexus indexer and index cleanup consumers
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@777816 13f79535-47bb-0310-9956-ffa450edef68
2009-05-23 07:28:12 +00:00
Brett Porter
969828589e
clean up warnings
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@755286 13f79535-47bb-0310-9956-ffa450edef68
2009-03-17 15:45:22 +00:00
Brett Porter
537ff689e7
[MRM-1140] centralise logging through slf4j
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@753590 13f79535-47bb-0310-9956-ffa450edef68
2009-03-14 02:33:57 +00:00
Maria Odea B. Ching
57ebe9526a
removed unused test resources in archiva-lucene-consumers and archiva-indexer
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@746157 13f79535-47bb-0310-9956-ffa450edef68
2009-02-20 05:55:19 +00:00
Maria Odea B. Ching
b4dfa90773
o re-packaged classes in archiva-indexer
...
o removed old directory
o removed unnecessary references to RepositoryIndexException and RepositoryIndexSearchException which have been removed
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@746146 13f79535-47bb-0310-9956-ffa450edef68
2009-02-20 05:25:30 +00:00
Maria Odea B. Ching
c73e639ed2
remove unused classes and empty directories
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@746141 13f79535-47bb-0310-9956-ffa450edef68
2009-02-20 05:09:07 +00:00
Maria Odea B. Ching
958b142c8f
remove unused classes
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@746127 13f79535-47bb-0310-9956-ffa450edef68
2009-02-20 03:45:10 +00:00
Maria Odea B. Ching
462af40d1e
[MRM-1043]
...
o moved the advanced search to the quick search page
o dynamically add search criteria
o added additional test in SearchAction
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@744080 13f79535-47bb-0310-9956-ffa450edef68
2009-02-13 11:25:47 +00:00
James William Dumay
f3e319b018
Reverting earlier change to SearchUtil
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@742863 13f79535-47bb-0310-9956-ffa450edef68
2009-02-10 06:12:32 +00:00
James William Dumay
6267a21d29
MRM-1081 - Archiva model should be updated so that the ARTIFACT table includes repositoryId as a primary key
...
* Updated so that repositoryId is part of the primary key for an artifact
* removed old search API classes as they needed to be brought over to the new API and doing so would be a waste of time
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@742859 13f79535-47bb-0310-9956-ffa450edef68
2009-02-10 05:35:05 +00:00
James William Dumay
dc5aee4038
moved hit key utility method
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@742848 13f79535-47bb-0310-9956-ffa450edef68
2009-02-10 04:51:10 +00:00
Maria Odea B. Ching
b8f16e0c71
[MRM-933]
...
o set search result limits of the returned search results
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@740576 13f79535-47bb-0310-9956-ffa450edef68
2009-02-04 02:16:11 +00:00
Maria Odea B. Ching
c0e1f8872e
[MRM-749]
...
merged -r 728552:740257 from archiva-nexus-indexer branch
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@740552 13f79535-47bb-0310-9956-ffa450edef68
2009-02-04 01:09:17 +00:00
James William Dumay
5786c1db33
Remove unused code
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@726963 13f79535-47bb-0310-9956-ffa450edef68
2008-12-16 05:28:59 +00:00
James William Dumay
20080174a4
MRM-1037 - Search Usability
...
* timestamp versions are merged to -SNAPSHOT versions
* duplicate artifacts are now merge by use of boolean filters
* we now search the correct fields
* content search has been removed (more accurate results)
* added more tokenizers for groupId, artifactId, version, etc
* Artifact Id's are weighted to improve quicksearch results
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@726928 13f79535-47bb-0310-9956-ffa450edef68
2008-12-16 02:13:25 +00:00
James William Dumay
d1e7241a84
adding overrides
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@723567 13f79535-47bb-0310-9956-ffa450edef68
2008-12-05 03:39:55 +00:00
James William Dumay
3ffefddeea
making repository final
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@723224 13f79535-47bb-0310-9956-ffa450edef68
2008-12-04 06:34:53 +00:00
James William Dumay
69144ad89b
Make member field final
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@723221 13f79535-47bb-0310-9956-ffa450edef68
2008-12-04 06:11:21 +00:00
Brett Porter
f578399872
remove @author tags as agreed on list: http://markmail.org/message/mtycwzotzosbywzr
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@718864 13f79535-47bb-0310-9956-ffa450edef68
2008-11-19 06:33:35 +00:00
Maria Odea B. Ching
9d345b6c94
[MRM-206]
...
-added search + test cases in web services
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@710189 13f79535-47bb-0310-9956-ffa450edef68
2008-11-03 22:23:23 +00:00
Maria Odea B. Ching
338acb23ec
remove unused imports
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@707296 13f79535-47bb-0310-9956-ffa450edef68
2008-10-23 07:01:31 +00:00
Maria Odea B. Ching
b86b71e28f
[MRM-981]
...
-fix query construction for advanced search
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@707291 13f79535-47bb-0310-9956-ffa450edef68
2008-10-23 06:31:39 +00:00
Maria Odea B. Ching
d0771be563
[MRM-90]
...
submitted by Gwen Harold Autencio
-filtered/advanced search
additional changes to patch:
-applied formatting
-removed unused methods and imports
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@696137 13f79535-47bb-0310-9956-ffa450edef68
2008-09-17 02:51:40 +00:00
Brett Porter
442f4a8749
[MRM-948] remove direct use of database and indexer from the core consumers, trim database related dependencies
...
Merged from: r694625
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@695101 13f79535-47bb-0310-9956-ffa450edef68
2008-09-14 02:10:59 +00:00
Maria Odea B. Ching
14abf5f87e
merged -r691966 (MRM-934: added version in the key of the search result hit) from branch
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@691968 13f79535-47bb-0310-9956-ffa450edef68
2008-09-04 11:24:02 +00:00
Maria Odea B. Ching
13c799574c
[MRM-892]
...
-instead of using different keywords like 'class:', 'package:' or 'method', just use one keyword for all which is 'bytecode:', user can just use
the filtered search for specifics once it is implemented
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@680606 13f79535-47bb-0310-9956-ffa450edef68
2008-07-29 02:48:33 +00:00
Maria Odea B. Ching
23392d13f3
[MRM-892]
...
-changed the implementation of search by class, package or method to use specific keywords 'class:', 'package:' or 'method:' when searching
for them (ex. class:MyClass)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@680352 13f79535-47bb-0310-9956-ffa450edef68
2008-07-28 13:35:38 +00:00
Maria Odea B. Ching
7da05e7cd4
[MRM-864]
...
-use a lucene Filter with BooleanQuery and the LuceneQuery for searching within the search results
-added a checkbox in the general search page to search from the results only
-maintain a list of previous query strings if searchResultsOnly option is enabled in general search
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@677197 13f79535-47bb-0310-9956-ffa450edef68
2008-07-16 08:46:38 +00:00
Maria Odea B. Ching
20fb87d33b
include the bytecode index to the searcheables in searchForTerm(..) instead of just searching it if the file content search returned
...
nothing
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@676854 13f79535-47bb-0310-9956-ffa450edef68
2008-07-15 09:59:23 +00:00
Maria Odea B. Ching
f8cfdfa447
-in the search results, display repository (with link) where artifact is located
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@675505 13f79535-47bb-0310-9956-ffa450edef68
2008-07-10 10:44:08 +00:00
Maria Odea B. Ching
59313f36c3
[MRM-861]
...
-fix search results hits count
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@675469 13f79535-47bb-0310-9956-ffa450edef68
2008-07-10 07:47:38 +00:00
Maria Odea B. Ching
8d428ccfd1
[MRM-730]
...
-search bytecode index if not found in filecontent index
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@674768 13f79535-47bb-0310-9956-ffa450edef68
2008-07-08 11:20:11 +00:00
Maria Odea B. Ching
8b9ec9fa88
[MRM-730]
...
-used bcel to read the .class files
-index classnames (packagename already included here) and methods that are public
-added tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@674740 13f79535-47bb-0310-9956-ffa450edef68
2008-07-08 08:44:21 +00:00
Maria Odea B. Ching
f443a28550
-update to PlexusInSpringTestCase
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@647649 13f79535-47bb-0310-9956-ffa450edef68
2008-04-14 02:49:38 +00:00
Brett Porter
c05b0f9381
remove use of plexus container
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@646650 13f79535-47bb-0310-9956-ffa450edef68
2008-04-10 05:10:09 +00:00
Brett Porter
f24cdcbd13
remove unnecessary component definitions
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@646403 13f79535-47bb-0310-9956-ffa450edef68
2008-04-09 15:31:57 +00:00
Brett Porter
a05f42cc0e
restructure according to discussion on the dev list
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@642497 13f79535-47bb-0310-9956-ffa450edef68
2008-03-29 03:09:22 +00:00