Maven Integration for Eclipse

Repository search dialog not handling "-" properly

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 0.0.4
  • Fix Version/s: 0.0.10
  • Component/s: Indexer
  • Labels:
    None
  • Number of attachments :
    0

Description

If user types "commons-lang" search result would be empty, even so commons-lang is listed in repository index.
Most likely dash is treated as token separator.

Issue Links

Activity

Hide
Eugene Kuleshov added a comment -

Right, dash is used as a token separator and current implementation (changed in 0.0.4 actually) is using new WildcardQuery(new Term(JAR_NAME, ""query""));

As a workaround you can type "lang" to find artifacts like commons-lang.

Show
Eugene Kuleshov added a comment - Right, dash is used as a token separator and current implementation (changed in 0.0.4 actually) is using new WildcardQuery(new Term(JAR_NAME, ""query"")); As a workaround you can type "lang" to find artifacts like commons-lang.
Hide
Tuomas Kiviaho added a comment -

Dot seems to have similar effect when for instance searching for javax.portlet

Show
Tuomas Kiviaho added a comment - Dot seems to have similar effect when for instance searching for javax.portlet
Hide
Eugene Kuleshov added a comment -

Both "commons-lang" and "javax.portlet" now return correct results.

Though "commons-" and "commons-lan" and even "commons-la*" return empty results. But "*lang" return "commons-lang".

Show
Eugene Kuleshov added a comment - Both "commons-lang" and "javax.portlet" now return correct results. Though "commons-" and "commons-lan" and even "commons-la*" return empty results. But "*lang" return "commons-lang".

People

Vote (1)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: