element <criteria>
Namespace: |
|
Type: |
|
Content: |
complex, 1 attribute, 1 element |
Defined: |
|
XML Representation Summary |
<criteria |
|
id |
= |
xsd:string |
|
> |
|
|
</criteria> |
May contain elements (1):
-
May be included in elements (1):
-
Usage / Definition Locations
Annotation
Specifies a collection of attributes and respective values. If an information that is being indexed
(encapsulated in SearchContentField objects) or searched (encapsulated in a SearchQuery
object's attributes) matches the values of a criteria, this criteria is used to identify which
<CODE>config</CODE> node will be used to configure the respective Indexer or Searcher object that
will perform the indexing or searching.<BR/>
<BR/>
Example: If we have the following Indexer configuration:
<CODE>
<BR/>...
<BR/><indexer id="default" className="lumis.search.lucene.LuceneIndexer">
<BR/> <config>
<BR/> <indexBasePath>C:\indexes\default</indexBasePath>
<BR/> </config>
<BR/> <config criteriaId="SportNews">
<BR/> <indexBasePath>C:\indexes\SportNews</indexBasePath>
<BR/> </config>
<BR/></indexer>
<BR/>...
<BR/><criteria id="SportNews">
<BR/> <attribute name="lum_serviceInstanceId">BAD7D575B9BF11DAAFA7198B7D208AAD</attribute>
<BR/></criteria>
</CODE>
All contents of the service instance <CODE>BAD7D575B9BF11DAAFA7198B7D208AAD</CODE> will be
indexed to the directory <CODE>C:\indexes\SportNews</CODE>, while all other contents will be indexed
to the directory <CODE>C:\indexes\default</CODE>.
XML Schema documentation generated with DocFlex/XML (Kit) v1.6.2DocFlex/XML is a powerful template-driven documentation and report generator from any data stored in XML files. Based on an innovative technology developed by FILIGRIS WORKS, this new tool offers virtuoso data querying and formatting capabilities not found in anything else! Need to convert your XML data into a clear nice-looking documentation or reports? Web-ready hypertext HTML or printable MS Word / OpenOffice.org friendly RTF? DocFlex/XML may be a cheap, quick and effective solution exactly for this task! |