NAME

kasyknotes - description by name of all <note>'s in Kasyk (<note>)


DESCRIPTION

The <header> container of the Kasyk hitlist XML may contain zero or more <note> containers, each identifying some sort of condition that happened during the processing of Kasyk query XML for a particular Kasyk index.

Each of these <note> containers has a name attribute, a class attribute as well as text. All possible notes are documented in this document: alphabetically ordered by the class attribute, and then by the name attribute.


CLASS "Constraint"

Notes in class "Constraint" are related to errors that occur in the processing of the <constraint> container. This can e.g. be caused by misspelling the name of a property in a condition. Errors of this class are most likely caused by the person responsible for generating the query XML.

name="BadCharacter"
Error in constraint: found bad character: '(character)'
name="Expected"
Error in constraint: '(character)' expected, but got '(string)'
name="ExpectedId"
Error in constraint: identifier name expected, but got '(string)'
name="ExpectedIdNumber"
Error in constraint: identifier name or number expected, but got '(string)'
name="ExpectedNumber"
Error in constraint: number expected, but got '(string)'
name="LeftLike"
Error in constraint: left hand side of 'like' (property '(string)') is not of type 'string'
name="MaxValueIn"
Error in constraint: maximum value ((value)) exceeded for in()
name="MultiPropertyNotConstraint"
Error in constraint: '(property)' is a property with multplicity '*', which cannot be used in constraints (yet)
name="NotCompareProperties"
Error in constraint: '(property1)' and '(property2)' are properties of different types and cannot be compared
name="NotComplete"
Error in constraint: expression is not complete
name="NotFlag"
Error in constraint: property '(property)' is not of type 'flag'
name="NotNumStringProperty"
Error in constraint: '(property)' is not a numeric or string property
name="RightLike"
Error in constraint: the right hand side of the 'like' operator must be a literal string
name="Strange"
Error in constraint: strangely enough, did not know how to handle '(property)'
name="TooLarge"
Error in constraint: expression longer than expected, got '(string)'
name="Unexpected"
Error in constraint: unexpectedly got '(string)'
name="UnknownProperty"
Error in constraint: '(property)' is an unknown property
name="UnterminatedString"
Error in constraint: unterminated string: '(string)'

CLASS "Info"

Notes in class "Info" denote certain points of interest and should thus considered to be warnings. They may be caused by the person responsible for generating the query XML, but can also be caused by the words of the query itself.

name="ChangedType"
Cannot do search of type '(type1)' on this index, changed to '(type2)'
name="IndexTooBusy"
The index that you selected for your query is too busy, please try again later
name="IndexUpdated"
Index has been updated since your initial query, maybe you should start searching from the first page again
name="MayHaveMissed"
The value of the "maxpass1hits" attribute ((number)) was too low: at least one document has been excluded from further investigation. Increase the "maxpass1hits" value in the query (or set it to "unlimited") to ensure that all possible documents are properly investigated
name="NoNamespace"
Namespace specification missing, assuming '" NS "'
name="UnexpectedAttribute"
Ignoring unexpected attribute '(attribute)' in XML container '<(container)>' at line (linenumber)
name="UnexpectedXmlContainer"
Ignoring unexpected XML container '<(container)>'
name="UnexpectedXmlText"
Ignoring unexpected text in XML container '<(container)>'
name="WordNotFound"
Word '(word)' not found in dictionary

CLASS "Internal"

Notes of class "Internal" ard indication of some kind of problem internal to Kasyk. It is propably caused by a problem introduced by the developers of Kasyk. Please report these types of errors to bugs@kasyk.org.

name="CannotOpen"
Internal error: cannot open file '(filename)' for writing: (error)
name="NoHeaderFromProvider"
Internal error: did not find properly formatted <" XML_HEADER "> in response from provider '%s'
name="NoHitlistFromProvider"
Internal error: did not find properly formatted <" XML_HITLIST "> in response from provider '%s'
name="NoResourceForKnownIndex"
Internal error: could not find resource for index '(indexname)'
name="NotString"
Internal error: pattern is not a string
name="TruncatedHitFromProvider"
Internal error: truncated <" XML_HIT "> in response from provider '%s'
name="UnknownDataType"
Internal error: unknown data type '(type)'

CLASS "Parse"

Notes of class "Parse" refer to problems in the XML parsing of the query. They are generally caused by the person responsible for the generation of the query XML.

name="ExpectedNumericAttribute"
XML parse error: expected numeric value for attribute '(attribute)' in '<(container)>' at line (linenumber)
name="RequiredAttributeMissing"
XML parse error: required '(attribute)' attribute missing from '<(container)>' at line (linenumber)
name="TopXmlWeird"
XML parse error: top level XML starts with '<(container1)>' rather than with '<(container2)>'
name="Wrong"
XML parse error: not proper XML at line (linenumber): '(string)'
name="WrongNameSpace"
XML parse error: namespace specification incorrect, expecting '" NS "' but got '(namespace)'

CLASS "Query"

Notes in class "Query" are related to errors that occur in the general processing of the query, specifically outside of the <constraint> container. This can e.g. be caused by the second occurence of a container that is supposed to only occur once in a query. Errors of this class are most likely caused by the person responsible for generating the query XML.

name="AllTexttypes0"
Error in query: only texttypes with zero weight specified
name="Constraint2"
Error in query: more than one XML <" XML_CONSTRAINT "> container specified
name="DefaultIndexNotServed"
Error in query: default index is not being served
name="Importance2"
Error in query: more than one XML <" XML_IMPORTANCE "> container specified
name="Index2"
Error in query: more than one XML <" XML_INDEX "> container specified
name="IndexNotServed"
Error in query: index '(indexname)' is not being served
name="InvalidImportanceProperty"
Error in query: invalid floating-point property '(property)' for importance, no ranking correction performed
name="TooLong"
Error in query: too long to handle
name="TooManyTexttypes"
Error in query: too many 'texttype' specifications
name="TooShort"
Error in query: queries without any words are not supported
name="UnknownSearchType"
Error in query: searches of type '(type)' are not supported
name="UnknownTexttype"
Error in query: texttype '(texttype)' is not known
name="WrongWeight"
Error in query: weight attribute '(string)' in texttype '(texttype)' is not a floating point value

SEE ALSO

Kasyk home, Kasyk hitlist XML, Kasyk query XML.

See http://www.kasyk.nl/xml/kasyknotes.html for the most up-to-date version of this information.


COPYRIGHT

Copyright © 2003 Dijkmat BV

This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Kasyk XML Information: Kasyk version 1.0.0, XML version http://www.kasyk.org/1.0, generated on Tue Nov 25 12:09:47 2003.