-
Notifications
You must be signed in to change notification settings - Fork 3
Civilizer Search Operators
Civilizer Search Operators have been implemented to help users tune their search phrases so that they can get more fine-grained search results.
For instance, the 1st search phrase will likely match more Fragments ( thus, inefficient ) than the 2nd search phrase.
big data databases
-
"big data"/c tag:databases
- Just don't care about the meaning of this search phrase for now.
More Fragments of the search results usually mean it would take more time until you reach exact information you would've targeted.
By using the Civilizer Search Operators you can filter out irrelevant Fragments from your results so your search will be more efficient.
There are two types of operators : Category Operators and Flag Operators:
These operators make your search keywords target one or more specific categories (content, title, tag, etc.) of Fragments.
You can always combine two or more of these operators.
- :
- Will match all of words for Fragment contents and titles.
- ex)
: big data
will match Fragments whose content or title contains phrases such asdata is big
,big data
,Big data
, etc.
- any:
- Will match any of words for Fragment contents and titles.
- ex)
any: big data
will match Fragments whose content or title contain phrases such asbig animal
,database
,big data
, etc .
- tag:
- Will match Fragments whose tags contain all of the words.
- ex)
tag:xml html
will match Fragments having tags ofxml
andhtml
altogether. - Unlike other category operators,
tag:
andanytag:
can accept comma-separated list.- so the query above is equivalent to
tag:xml, html
.
- so the query above is equivalent to
- anytag:
- Will match Fragments having any of the specified tags.
- ex)
anytag:xml html
will match Fragments having tags ofxml
orhtml
or both.
- title:
- Will match Fragments with a title that contains all of the words.
- ex)
title:install printer
will match Fragments with a title that containsinstall
andprinter
altogether.
- anytitle:
- Will match Fragments with a title containing any of the specified words.
- ex)
anytitle:android ios
will match Fragments with a title that contains any ofandroid
orios
or both.
- text:
- Will match all of words for Fragment contents.
- ex)
text: big data
will match Fragments whose content contains phrases such asdata is big
,big data
,Big data
, etc.
- anytext:
- Will match any of words for Fragment contents.
- ex)
anytext: big data
will match Fragments whose content contains phrases such asbig animal
,database
,big data
, etc.
- id:
- Will match Fragment id numbers.
- ex)
id: 1 3 5 9
will match 4 Fragments with id of 1, 3, 5, 9.
[ About Colon (:) ]
Note that a colon (:) has a significant meaning for Civilizer Search Operators.
If your search phrase happens to have a colon literally, wrap it with double quotation marks (") such as "some-keyword:".[ Shorter forms (Since 0.9.0.RC6) ]
You can use shorter forms of operators to save some typing;
tag:
is equivalent tot:
title:
is equivalent toti:
text:
is equivalent tote:
any:
is equivalent toa:
anytag:
is equivalent toat:
anytitle:
is equivalent toati:
anytext:
is equivalent toate:
[ Search considering Tag Hierarchy ]
By default, tag keywords won't consider their hierarchies.
But you can target Fragments tagged with a specific tag or any of its descendants by attaching a '/h' Flag Operator. (See below)
You can append these operators to the tail of a word (with slash) and control match requirements for that word.
- /c
- Case Sensitive;
- ex)
"Big Data"/c
will matchBig Data
NOTbig data
- /w
- Whole Word;
- ex)
device/w
will matchdevice
NOTdevices
- /b
- Beginning with;
- ex)
html/b
will matchhtml
orhtml5
NOTxhtml
- /e
- Ending with;
- ex)
mail/e
will matchemail
orGmail
NOTmails
- /r
- Regular Expression;
- ex)
https?/r
will matchhttp
orhttps
orhttps://
NOTftp
- /-
- Inverse;
- Will return results not matching the pattern.
- ex)
android/-
will match any word not containingandroid
- /h
- Considering Tag Hierarchy;
- Will work only with Tag Category Operators (
:tag
or:anytag
). - Will match each descendant of the tag as well as the tag itself.
- ex)
tag:business/h
will match any Fragment associated with a tagbusiness
or any of its descendant tags
- You can always combine two or more of these operators.
- ex)
Down/bc
will matchDownload
orDownside
( WON'T matchdownload
eitherUpsideDown
)- /b, /e, /w operators are supposed to be used with words consisting of alphanumeric characters and underscore( _ ).
- Do not use any of these operators when your search word contains non-alphanumeric characters except underscore ( ~{}()#$@,%-+ and others )
The above example of search phrase "big data"/c tag:databases
will match Fragments that satisfy the following conditions at the same time:
- Fragments whose content or title contains one or more words of
big data
:- Case MATTERS because of the
/c
Flag Operator - The search will match the exact phrase
big data
( 'big' and space and 'data' ) due to the double quotation marks.
- Case MATTERS because of the
- Fragments whose Tags contain a word
databases
.
- civilizer official page
- civilizer github page
- civilizer sourceforge page
- civilizer twitter - @civilizer_pkm
- civilizer tutorial video
- civilizer wiki and online docummentations
- feature request & bug report & other issues
- γ·γγ©γ€γΆγΌζ₯ζ¬θͺηGithubγγΌγΈ
- γ·γγ©γ€γΆγΌζ₯ζ¬θͺηγγγ₯γ‘γ³γ
- Fragment
- Tags on Civilizer
- File Box
- Panels on Civilizer
- Searching Fragments on Civilizer
- Private Home Directory for Civilizer
- Basic Operations for Fragments
- Basic Operations for Tags
- Basic Operations for File Box
- Basic Operations for Search Dialog
- Panel Toolbar Menus