Extension – Query Syntax Definition
Overview
This page provides the Query syntax in ICI Inner Search Engine. Before choosing to use the provided
Query, please consider the following:
1. If you are programmatically generating a query string and then parsing it with the query parser
then you should seriously consider building your queries directly with the query API. In other
words, the query parser is designed for human-entered text, not for program-generated text.
2. Untokenized fields are best added directly to queries, and not through the query parser. If a
field's values are generated programmatically by the application, then so should query
clauses for this field. An analyzer, which the query parser uses, is designed to convert
human-entered text to terms. Program-generated values, like dates, keywords, etc., should
be consistently program-generated.
3. In a query form, fields which are general text should use the query parser. All others, such as
date ranges, keywords, etc. are better added directly through the query API. A field with a
limit set of values, that can be specified with a pull-down menu should not be added to a
query string which is subsequently parsed, but rather added as a TermQuery clause.
Terms
A query is broken up into terms and operators. There are two types of terms: Single Terms and
Phrases.
A Single Term is a single word such as "test" or "hello".
A Phrase is a group of words surrounded by double quotes such as "hello dolly".
Multiple terms can be combined together with Boolean operators to form a more complex query (see
below).
Note: The analyzer used to create the index will be used on the terms and phrases in the query string.
So it is important to choose an analyzer that will not interfere with the terms used in the query string.
Fields
Inner Search Engine supports fielded data. When performing a search you can either specify a field,
or use the default field. The field names and default field is implementation specific.
You can search any field by typing the field name followed by a colon ":" and then the term you are
looking for.
As an example, let's assume an Inner Search Engine index contains two fields, title and text and text
is the default field. If you want to find the document entitled "The
Right Way" which contains the text "don't go this way", you can enter:
title:"The Right Way" AND text:go
or
Summary of Contents for ICI-1000
Page 1: ...Internet Content Inspector ICI 1000 ICI 2000 User Manual v1 00...
Page 20: ...Besides generating report by IP Administrator can also generate report by Account basis...
Page 38: ...4 Click on Play to play back the record MSN webcam session...
Page 58: ...Source Code When click on the following UI will pop up to display the source code of webpage...
Page 63: ...Sample HTTP Upload Download...
Page 65: ...Sample HTTP Video Stream...
Page 67: ...Sample HTTP Request Content...
Page 159: ...Step 2 Click Show Chart...