[About search]
The search method is not just a simple AND search, but more advanced searches are possible.
Here we will introduce everything from basic specifications to advanced techniques.
* Basic specifications
The following two search results will be the same as the search words are not case sensitive, half-width full-width, hiragana or katakana.
Dog Story XI
DOG story xi
However, if you have a keyword that you want to match exactly, enclose it in "(double quotes) and it will be searched as an exact match.
"CAT Likes dog"
In the above case, "cat likes DOG" will not be displayed in the results.
* OR search
If you enter a half-width space in the search word and search,
it becomes an AND search, but if you enter OR as shown below, you can perform an OR search.
Dogs or Cats
In the above case, articles containing dogs or cats will be displayed in the search results
One thing to note: be sure to leave a space before and after or.
Note that the following items are also common, but special keywords for search are not case sensitive, so OR, or, Or will give the same result.
* AND search
Unlike OR, AND can be omitted, but there is no problem if you write it.
Example) book AND purchase
In this case, of course, leave a space before and after the AND.
* Parentheses
When mixing AND and OR, they are usually processed from left to right,
but for example, if you want to specify the condition "Elephant is included, or both bear and wolf are included" write it like this:
elephant OR (bear AND wolf)
(AND can be omitted, but is included for clarity)
Parentheses can be nested, so complex writing like the one below is also possible.
(Aquila and Ophiuchus) or (Lupus and (Draco or Vulpecula))
You don't have to force yourself to use it, but it may be useful to know.
* NOT search
If you want to search for something other than what you specified, you can use the negation operator "!".
However, if you want to deny the search keyword, adding "!" in front of the word will result in an error.
I think it's probably a programming error, but if you want to deny a keyword, please write as follows at the moment.
!(Cloudy)
By the way, if you write a negative before a negative, it will be canceled.
!!(Sunny)
* Regular expression
You can also use Regular Expressions in your search words.
Regular Expressions are a mechanism for expressing various conditions using only characters, and are used in programming etc.
To use a Regular Expression, put it between //
/fluffy\s+(dog|cat)s?/
We will not explain the details of Regular Expressions here, so please refer to various specialized sites.
By the way, this software allows you to mix two or more Regular Expressions.
/\d+(yen|JPY)/i or /\d+(\$|dollars?|USD)/i
There is an "i" written to the right of the Regular Expression, which means that it is not case sensitive.
* Search properties
For a more advanced search, you can also search for properties.
In normal search, results are displayed by searching from the article body and all string properties.
For example, if either the article or the title contains the word "sky",
searching for the word "sky" will show up in the results even if it is not included in the article.
So, what to do if you only want articles with the sky in the title, write it like this:
title=sky
On the other hand, if you want results where only articles contain sky,
text=sky
write it like this.
"text" does not refer to a property, but the main text of the article (remember that it is something like this)
Furthermore, you can use not only the equal sign but also the inequality sign, so for example, if you want results for weight between 52 and 55.
weight>=52 AND weight<55
You can write it like this.
Also, not containing something can be expressed with "!="
The left side can be omitted; if omitted, all articles and properties will be searched.
In other words, if you write !(Cloudy) in the negative section, you will get the same result even if you write it as follows:
!=Cloudy
* Properties with multiple numbers
Some properties have two or more numbers.
For example, height has two components: feet inch
In such cases, use []
Height=[5,6]
Height>=[6,3]
The top section searches for people with a height of 5 feet 6 inches, and the bottom section searches for people over 6 feet 3 inches tall.
* mixed
The specifications explained above can be mixed, so it is also possible to write complex statements like the one below.
(Regardless of whether you actually use it or not)
((breakfast and (skip or rice or bread)) or (dinner and /(tomato|corn|gumbo)\s+soup/)) and (Weight>=62.5 and Weight<65)
Last updated: 6/3/2024(Wed)