- Notifications
You must be signed in to change notification settings - Fork2
Searching
Admarus works well for latin languages.As of today, only english is officially supported.All words with more than 3 letters are indexed.Casing has no effect on search.Automatic search of plurals will be supported soon.
Admarus supportsAND,OR andNOT operators. Operators must be uppercase or they will be considered as words.
OR is the default operator, used when none is specified.
bitcoin OR filecoinbitcoin filecoinharry AND potterbitcoin AND NOT(crypto)These operators have shorthand signs:+ or& forAND,/ or| forOR, and! forNOT.
bitcoin / filecoinbitcoin | filecoinbitcoin filecoinHarry + PotterHarry & PotterBitcoin & !cryptoBrackets can be used to group complex expressions.
bitcoin OR (hedera AND hashgraph)(harry AND potter) OR (mad AND max)bitcoin AND (NOT(crypto) OR king)There is another uncommon operator, calledNAmong, matching a document when at leastn of thek inner expressions match.
2(harry, potter, gryffindor)2(harry, potter)harry AND potter1(harry, potter)harry OR potterharry potterAdmarus supports some key-value selectors.
Thelang filter allows selecting the language of documents.Casing of values is ignored.
bitcoin + lang=enbitcoin + NOT(lang=zh)bitcoin + (lang=en / lang=fr)This mechanism was found to be insufficient as autocompletion in many code editors add the english language by default.As a result, many documents in different languages are still marked as english.That's why Admarus also implements automatic detection of the language (but only english is supported yet).The filter is still useful as it allows the query to be routed much more efficiently.
Warning: this section is about a feature that's currently being implemented
Admarus supports schema.org structured data. Documents containing specific objects can be queried using theschema filter.
cat + schema=ImageObjectharry + potter + schema=VideoObjectpizza + schema=Recipe1984 + schema=Bookleonardo + vinci + schema=Person5(never, gonna, give, down, rules) + schema=MusicRecordingDocuments can match multiple values for a single key.
fireworks + schema=ImageObject + schema=VideoObjectNote that Admarus automatically converts rawimg,video,picture andaudio html elements into the corresponding schema.org types in order to improve compatibility.