| Summary: | Documentation: Need to indicate that search uses lucene syntax | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Corey Welton <cwelton> |
| Component: | Docs User Guide | Assignee: | Shikha <snansi> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | ecs-bugs |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.0.0 | CC: | achan, alyoung, bbuckingham, belong, cpelland, jskeoch, lbrindle, mmccune |
| Target Milestone: | Unspecified | Keywords: | Triaged |
| Target Release: | Unused | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
CloudForms System Engine uses Apache Lucene as the default query syntax. This causes unexpected results if the user is not aware of Lucene syntax. Refer to the following page for a full specification on Apache Lucene Query Parser Syntax:
http://lucene.apache.org/core/old_versioned_docs/versions/3_3_0/queryparsersyntax.html
Use of the proper Lucene syntax helps a CloudForms System Engine perform accurate searches.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-12-10 22:03:48 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
Corey Welton
2012-03-05 20:34:08 UTC
One deviation that we have from Lucene syntax is that we are disabling the behavior of the '-' operator. In Lucene, this boolean operator is used to exclude documents that contain the term after the -. Since - is commonly used in CFSE as a separator in names (e.g. repository, package...etc), we have chosen to disable it within CFSE. This basically means that we 'escape' it, treating it as a normal character.
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
New Contents:
CloudForms System Engine uses Apache Lucene as the default query syntax. This causes unexpected results if the user is not aware of Lucene sytanx. Refer to the following page for a full specification on Apache Lucene Query Parser Syntax:
http://lucene.apache.org/core/old_versioned_docs/versions/3_3_0/queryparsersyntax.html
This does not include the use of the "-" character, which CloudForms System Engine treats as an escape character.
Use of the proper Lucene syntax helps a CloudForms System Engine perform accurate searches.
Technical note updated. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
Diffed Contents:
@@ -2,6 +2,6 @@
http://lucene.apache.org/core/old_versioned_docs/versions/3_3_0/queryparsersyntax.html
-This does not include the use of the "-" character, which CloudForms System Engine treats as an escape character.
+This does not include the use of the "-" operator, which CloudForms System Engine treats as a normal character.
Use of the proper Lucene syntax helps a CloudForms System Engine perform accurate searches.
Doc update will occur for 1.1. Release note to occur for 1.0. LKB (In reply to comment #2) > One deviation that we have from Lucene syntax is that we are disabling the > behavior of the '-' operator. In Lucene, this boolean operator is used to > exclude documents that contain the term after the -. Since - is commonly used > in CFSE as a separator in names (e.g. repository, package...etc), we have > chosen to disable it within CFSE. This basically means that we 'escape' it, > treating it as a normal character. While making updates to Katello to support consistency across search, we were able to come up with a solution that enables us to support the Lucene '-' operator for most scenarios. As a result, the above caveat is no longer entirely true. The exceptions where the '-' operator is not supported is when performing a search from the System Templates UI. In that UI, if the user has a template open, navigates to Packages, Repositories...etc and enters text, the user is essentially entering the 'name' of the entity (e.g. package) they are looking for. Since that search supports auto-completing the name, the - is not treated as an operator in that context. Updated the "Technical Notes" to remove the caveat on - operator.
Technical note updated. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
Diffed Contents:
@@ -2,6 +2,4 @@
http://lucene.apache.org/core/old_versioned_docs/versions/3_3_0/queryparsersyntax.html
-This does not include the use of the "-" operator, which CloudForms System Engine treats as a normal character.
-
Use of the proper Lucene syntax helps a CloudForms System Engine perform accurate searches.
Technical note updated. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
Diffed Contents:
@@ -1,4 +1,4 @@
-CloudForms System Engine uses Apache Lucene as the default query syntax. This causes unexpected results if the user is not aware of Lucene sytanx. Refer to the following page for a full specification on Apache Lucene Query Parser Syntax:
+CloudForms System Engine uses Apache Lucene as the default query syntax. This causes unexpected results if the user is not aware of Lucene syntax. Refer to the following page for a full specification on Apache Lucene Query Parser Syntax:
http://lucene.apache.org/core/old_versioned_docs/versions/3_3_0/queryparsersyntax.html
Release note added. Link: http://documentation-stage.bne.redhat.com/docs/en-US/CloudForms/1.0/html/Release_Notes/chap-Release_Notes-System_Engine.html#sect-Release_Notes-System_Engine-System_Engine_Considerations-known_issues_04 Regards, Shikha Back to assigned for doc update. LKB Hi All, This information has been added to the System Engine User guide as an admonition. Please review this section: http://documentation-stage-02.lab.eng.bne.redhat.com/docs/en-US/CloudForms/1.1/html/System_Engine_User_Guide/chap-Content_Management.html#About_Content_Providers Regards, Shikha mass-move of docs-related bugs to ecs-bugs. If this appears to be incorrect, feel free to bounce back to katello-qa-list and/or request clarification. This information is not suitable to be put in admonition in any one chapter. since the query is used across the book. I have added a small introductory chapter for now that tells the users about Lucene query. We will review this section in the next release and expand as required. Link: http://documentation-stage-02.lab.eng.bne.redhat.com/docs/en-US/CloudForms/1.1/html/System_Engine_User_Guide/chap-About_Apache_Lucene.html Regards, Shikha Fixed the typo. Link: http://documentation-stage-02.lab.eng.bne.redhat.com/docs/en-US/CloudForms/1.1/html/System_Engine_User_Guide/chap-About_Apache_Lucene.html Regards, Shikha This documentation has now been dropped to translation ahead of publication. For any further issues, please open a new a bug. LKB This document is now publicly available on access.redhat.com. For any further issues, please raise a new bug. LKB |