Bug 790063

Summary: Make search syntax consistent
Product: Red Hat Satellite Reporter: Jeff Weiss <jweiss>
Component: WebUIAssignee: Brad Buckingham <bbuckingham>
Status: CLOSED ERRATA QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0.1CC: cwelton, dajohnso, mmccune
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-05-15 18:48:33 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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