| Summary: | RFE: Search Content Specs by author | ||
|---|---|---|---|
| Product: | [Community] PressGang CCMS | Reporter: | Joshua Wulf <jwulf> |
| Component: | CSProcessor | Assignee: | Lee Newson <lnewson> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 1.x | CC: | jwulf, lcarlon |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-02-22 02:42:44 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Currently the search functionality is: <lnewson> title, product, version and creator <jwulf> where title OR product OR version OR creator CONTAINS "search term" Added in 0.21.3. You can now search by creator. The ability to specify which fields to search on is a bit more complex so i'll look at that at a later stage when it becomes more necessary. Works for me: [jwulf@radhe temp]$ csprocessor search -c jwulf CSProcessor client version: 0.17.0 Loading configuration from /home/jwulf/.config/csprocessor.ini Web Service at http://csprocessor.cloud.lab.eng.bne.redhat.com:8080/ version: 0.21.4 ID TITLE PRODUCT VERSION CREATED BY 6179 Writing with Topics Internal 5 jwulf 6180 Guide to Topic-based Authoring Engineering Content Services 1 jwulf 6182 Red Hat Engineers Guide to Zanata Engineering Tools 1 jwulf 6192 Content Spec Processor Guide Engineering Content Services 1 jwulf 6226 Your Name Test Book Testing 1 jwulf |
Currently we can search the Content Specs using: csprocessor search -c "Test Book" This searches the Content Specs and returns: ID TITLE PRODUCT VERSION CREATED BY 6226 Your Name Test Book Testing 1 jwulf A search like: csprocessor search -c "Testing" returns results. A search like: csprocessor search -c "jwulf" returns: INFO: No Content Specifications were found in the database. Can we make the search function search author as well, or alternatively provide another switch to control which fields are searched.