CREATE FULLTEXT PARSER prsname START= start_function GETTOKEN gettoken_function END end_function LEXTYPES lextypes_function [ HEADLINE headline_function ] ;
CREATE FULLTEXT PARSER will create a new parser used to break document onto lexemes.
If a schema name is given (for example, CREATE FULLTEXT PARSER myschema.prsname ...) then the parser is created in the specified schema. Otherwise it is created in the current schema.
More information about developing custom parser is available from this Appendix B.
The name (optionally schema-qualified) of the new parser.
start_function is the name of the function, that initialize a parser.
gettoken_function, is the name of the function, that returns a token.
end_function, is the name of the function, that called after parsing is finished.
lextypes_function, is the name of the function, that returns an array containing the id, alias and the description of the tokens of a parser.
headline_function, is the name of the function, that returns a representative piece of document.