Bug 790063 - Make search syntax consistent
Summary: Make search syntax consistent
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: WebUI
Version: 6.0.1
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: Brad Buckingham
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-13 15:17 UTC by Jeff Weiss
Modified: 2019-09-26 13:30 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-05-15 18:48:33 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2012:0665 0 normal SHIPPED_LIVE new packages: katello 2012-05-15 22:27:22 UTC

Description Jeff Weiss 2012-02-13 15:17:52 UTC
Description of problem:
On orgs page, searching for "blah" does not match "blahorg" - you need "blah*".  Other pages do not require trailing *.

Version-Release number of selected component (if applicable):
katello-0.1.236-1.git.1.c7be00c.el6.noarch

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Jeff Weiss 2012-03-05 22:30:13 UTC
The providers search bar does not require a trailing *.

Comment 2 Brad Buckingham 2012-03-08 18:32:11 UTC
commit - fa3564ed31f95acd5cb618e93e8b50f33a81dad8

This commit contains changes in an attempt to have more consistency across search.

It is important to note that Katello search engine will use Lucene query syntax.  As a result, users should become familiar with it.

The following are a few examples of valid search syntax using the Provider's page:
- Assume:
  1. provider: custom-provider
     product: custom-product
     repo: custom-repo

  2. provider: custom-provider2 
     product: custom-product2
     repo: custom-repo2

- Example query/result:
  query: custom
  result: <empty>

  query: custom-provider
  result: custom-provider

  query: custom-*
  result: custom-provider, custom-provider2

  query: *-provid*
  result: custom-provider, custom-provider2

  query: name:custom-provider
  result: custom-provider

  query: name:custom-provider AND product:custom-product AND repo:custom-repo
  result custom-provider

  query: name:custom* AND product:custom* AND repo:custom*
  result custom-provider, custom-provider2

Comment 3 Brad Buckingham 2012-03-09 22:43:45 UTC
commit - 2bf588fa3dfe0fbbb45205798aabb94db99dc355

Few more minor changes to improve behavior on errata search.

Comment 6 Corey Welton 2012-03-28 13:05:39 UTC
QA Verified - 0.1.306-1.el6

Comment 7 errata-xmlrpc 2012-05-15 18:48:33 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHEA-2012-0665.html

Comment 8 Mike McCune 2013-08-16 18:10:19 UTC
getting rid of 6.0.0 version since that doesn't exist


Note You need to log in before you can comment on or make changes to this bug.