Details
-
Type:
Improvement
-
Status: Closed
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Search
-
Labels:None
Description
We have a use case where we upload various types of content in zip files into our artifact server - and we use type of the artifact to denote what is contained in the zip file.
For example:
<dependency>
<groupId>foo</groupId>
<artifactId>bar</artifactId>
<version>1.0</version>
<type>ibdf.zip</type>
</dependency>
We use the classifier for other purposes.
I don't see a way to do a lucene query on 'type'. You have packaging - but packaging != type - our packaging type is pom, for example.
Is there any way to construct a query (and utilize the rest interface) to get back a list of all artifacts of a particular type?
It also seems that you cannot enter a query with just the packaging? I get no results if I just search for pom, or jar packaging, for example. If support was added for indexing type - it would need to be usable by itself, for my use case.
I'm fairly familiar with lucene - if someone could point me at the right source code, I could probably come up with a patch (assuming I'm not being dense if the feature already exists)
Attachments
Issue Links
- testing discovered
-
NEXUS-9756 Search with / errors
-
- Closed
-