help.axcms.netAxinom Logo
Save Save Chapter Send Feedback
Search Syntax
Syntax support by AxCMS.net Search Engine

The AxCMS.net search engine supports a powerful search syntax which is explained here.

We demonstrate the search syntax on several examples.

term - objects, containing term in any field
field=term - objects, containing term in the field field
field1=term1 AND field2=term2 - objects, containing term1 in the field field1 and term2 in the field field2
field1=term1 OR field2=term2 - objects, containing term1 in the field field1 or term2 in the field field2
NOT field=term - objects, not containing term in the field field

If you omit fieldname, all fields assumed. If you omit logical operator, AND is assumed.

It is possible to combine the logical operators. Usual execution order is applied: NOT, AND, OR.

field1=term1 OR NOT field2=term2 AND field3=term3 - objects having term1 in field1, and those with term3 in field3 but no term2 in field2. [field1=term1 OR ((NOT field2=term2) AND field3=term3)].

term1 term2 - objects, containing term1 and term2 in any field.
field1=term1 term2 - objects, cotaining term1 in the field1 and term2 in any field

If a term is simply a word, exact word match search is performed.
You can use wildcards (*) to search for a part of the word:
 
field=mark - finds "mark" only
field=mark* - finds also "marketing" and "markt"
field=*mark* - find also "supermarkt"

Note: search with wildcards is significantly slower as without them. Especially slow are the wildcards at the beginning of a term. Try to avoid "*mark*".

You can also search for  a phrase,  using quotation marks:

field="the phrase to be found"

Note: search for a phrase is significantly slower as a simple search for a term.

Fields

For every AxCMS.net-object a list of indexed fields is defined.

Page: Name, Title, Caption, Description, AdditionalString, Content, Keywords, META-DESCRIPTION, META-AUTHOR, META-KEYWORDS, META-CONTENTTYPE, META-EXPIRES
Document: Name, FileName, Caption, Description, Content, Keywords
Label: Name (Text of the label)
Image: Name (ImageUrl), NavigateUrl, ToolTip
Flash: Name, Path

Custom objects can be also made searchable - it depends then from the project developer.