Skip to content

Commit

Permalink
Clarify website search string processing (again)
Browse files Browse the repository at this point in the history
  • Loading branch information
trickerer01 committed Jul 2, 2024
1 parent dcdc3d8 commit c65ff1f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ RC is a gallery downloader with a lot of features, most of which are filters for
#### Search
- RC provides advanced searching functionality (`pages.py` module). Search is performed using extended website native API
- There are 4 search arguments available each corresponding to different parts of search API. It's possible to utilize all four at once but usually a single one is enough
- `-search <STRING>` - search using raw string, matching all words (see below). Concatenate using `-`:
- `-search <STRING>` - search using raw string, matching any word (see below). Concatenate using `-`:
- `-search after-hours`
- `-search_tag <TAGS>`, `-search_cat <CATEGORIES>`, `-search_art <ARTISTS>` - search using one or more tag/category/artist names (see below). Concatenate using `,`:
- `-search_tag 1girl,side_view`
Expand All @@ -30,7 +30,7 @@ RC is a gallery downloader with a lot of features, most of which are filters for
- `-search_art hydrafxx,medeister -search_rule_art any`
- Note that overall search always obeys `AND` rule:
- _search string_ `AND` _ANY_OF/ALL the tags_ `AND` _ANY_OF/ALL the artists_ `AND` _ANY_OF/ALL the categories_
- How raw string search really works: when trying to match word(s) in the search string server performs no additional steps. Words in provided string may match title, tags, categories or author. Matching is **exact** so word 'all' will **not** match 'tall', 'calling' or everything else containing this symbol sequence but this exact word
- How raw string search really works: when trying to match word(s) in the search string server performs no additional steps. A single word search may match title, tags, categories or author while multi-word search may only match title but it's compared against every word in the search string, this can be used to search for multiple title patterns in one go. Matching is **exact** so word 'all' **will not** match 'tall', 'calling' or anything besides this exact word.

#### Filters
- Initial search results / ids list can be then filtered further using `extra tags` (see below)
Expand Down
2 changes: 1 addition & 1 deletion src/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
APP_NAME = 'RC'
APP_VER_MAJOR = '1'
APP_VER_SUB = '8'
APP_REVISION = '153'
APP_REVISION = '154'
APP_VERSION = f'{APP_VER_MAJOR}.{APP_VER_SUB}.{APP_REVISION}'

#
Expand Down

0 comments on commit c65ff1f

Please sign in to comment.