no.sesat.search.query.token
Enum Categories

java.lang.Object
  extended by java.lang.Enum<Categories>
      extended by no.sesat.search.query.token.Categories
All Implemented Interfaces:
Serializable, Comparable<Categories>, TokenPredicate, org.apache.commons.collections.Predicate

public enum Categories
extends Enum<Categories>
implements TokenPredicate

A formalised breakdown of metadata categories that search terms can match. The break down of these categories should roughly follow what is found at http://en.wikipedia.org/wiki/Portal:Contents/Categorical_index

Version:
$Id: Categories.java 7225 2009-04-09 00:32:20Z ssmiweve $

Enum Constant Summary
ANIMAL
          http://en.wikipedia.org/wiki/Category:Animals
ARTIST
          http://en.wikipedia.org/wiki/Category:Artists
BIGCOMPANY
          Deprecated. a prioritised category of COMPANYNAME is business logic
BLOG_MAGIC
          Deprecated. not a category, but a keyword used as a portal into another search mode
BOOK_MAGIC
          Deprecated. not a category, but a keyword used as a portal into another search mode
CATALOGUE_MAGIC
          Deprecated. not a category, but a keyword used as a portal into another search mode
CATALOGUE_TRIGGER
          Deprecated. not a category, but keywords used as a portal into another search mode
CATEGORY
          Deprecated. use COMPANYBRANCH instead
CELEBRITY
          http://en.wikipedia.org/wiki/Category:Celebrities
CLASSIFIED_CATEGORY
          Advertising categories, typically represented by "classifieds" websites.
CLASSIFIED_MAGIC
          Deprecated. not a category, but a keyword used as a portal into another search mode
CLASSIFIED_TRIGGER
          Deprecated. not a category, but keywords used as a portal into another search mode
COMPANY_CHAIN
          http://en.wikipedia.org/wiki/Category:Distribution,_retailing,_and_wholesaling
COMPANY_KEYWORD
          Deprecated. a prioritised category of COMPANYBRANCH is business logic
COMPANY_KEYWORD_RESERVED
          Deprecated. a prioritised category of COMPANYBRANCH is business logic
COMPANYBRANCH
          http://en.wikipedia.org/wiki/Category:Products_by_company
COMPANYBRANCHKEYWORD
          Deprecated. a prioritised category of COMPANYBRANCH is business logic
COMPANYENRICHMENT
          Deprecated. a prioritised category of COMPANYNAME is business logic
COMPANYSUFFIX
          While not exactly matching the "Types of Companies" category http://en.wikipedia.org/wiki/Category:Types_of_companies it does intend to provide a list of abbreviations commonly used to identify these difference types of companies
CULTURE_MAGIC
          Deprecated. not a category, but a keyword used as a portal into another search mode
DISEASE
          
EMPTYQUERY
          A completely empty query.
ENGLISHWORDS
          http://en.wikipedia.org/wiki/Category:English_language
FICTION_CHARACTER
          http://en.wikipedia.org/wiki/Category:Fictional_characters
FIRSTNAME
          http://en.wikipedia.org/wiki/Category:Given_names
FOOD
          http://en.wikipedia.org/wiki/Category:Food_and_drink
FULLNAME
          http://en.wikipedia.org/wiki/Category:Names
GEO_AREA
          Deprecated. ambiguos (within a geographical context). Essentially it is a mathematical term. Will be removed before Sesat-3.0
GEO_BOROUGH
          http://en.wikipedia.org/wiki/Category:Boroughs
GEO_COUNTY
          http://en.wikipedia.org/wiki/Category:Counties
GEO_MUNICIPALITY
          http://en.wikipedia.org/wiki/Category:Municipalities
GEO_POSTALPLACE
          Deprecated. ambiguous. what is a postal place? somewhere that can receive post?
GEO_STREET
          http://en.wikipedia.org/wiki/Category:Streets_and_roads
GEO_ZIPCODE
          http://en.wikipedia.org/wiki/Category:Postal_codes_by_country
GEOGLOBAL
          http://en.wikipedia.org/wiki/Category:Geography International geographical places.
GEOLOCAL
          http://en.wikipedia.org/wiki/Category:Geography National geographical places (according to current skin).
IMAGES
          Deprecated. will be removed before sesat-3.0. what words to show a visual image of is business logic.
LASTNAME
          http://en.wikipedia.org/wiki/Category:Surnames
LOAN_TRIGGER
          Deprecated. not a category, but keywords used as a portal into another search mode
MAP_MAGIC
          Deprecated. not a category, but a keyword used as a portal into another search mode
MATERIAL
          http://en.wikipedia.org/wiki/Category:Materials
MATH
          http://en.wikipedia.org/wiki/Category:Equations
MOTOR_SPORT
          http://en.wikipedia.org/wiki/Category:Motorsport
MOVIE_ACTOR
          http://en.wikipedia.org/wiki/Category:Actors
MOVIE_DIRECTOR
          http://en.wikipedia.org/wiki/Category:Film_directors
MOVIE_MAGIC
          Deprecated. not a category, but a keyword used as a portal into another search mode
MOVIE_TITLE
          http://en.wikipedia.org/wiki/Category:Films
NEWS_MAGIC
          Deprecated. not a category, but a keyword used as a portal into another search mode
NEWS_TRIGGER
          Deprecated. not a category, but keywords used as a portal into another search mode
NEWSCASE
          http://en.wikipedia.org/wiki/Category:News
NOPICTURE
          Deprecated. will be removed before sesat-3.0
OCEAN
          http://en.wikipedia.org/wiki/Category:Bodies_of_water
OCEAN_MAGIC
          Deprecated. not a category, but a keyword used as a portal into another search mode
OCEAN_TRIGGER
          Deprecated. not a category, but keywords used as a portal into another search mode
ONLYSKIINFO
          Deprecated. will be removed before sesat-3.0
ORGNR
          Each country has a different format in its company/organisation numbers.
PHONENUMBER
          Each country has a different format for phone numbers.
PICTURE
          Deprecated. will be removed before sesat-3.0. what words to show a visual image of is business logic.
PICTURE_MAGIC
          Deprecated. not a category, but a keyword used as a portal into another search mode
PICTURE_TRIGGER
          Deprecated. not a category, but keywords used as a portal into another search mode
PRIOCOMPANYNAME
          Deprecated. the definition of a Prioritised Company is business logic.
PRODUCT_BICYCLE
          http://en.wikipedia.org/wiki/Category:Cycle_types
PRODUCT_CAR
          http://en.wikipedia.org/wiki/Category:Automobiles
PRODUCT_CHILDREN
          Products typically for children.
PRODUCT_CLOTHING
          http://en.wikipedia.org/wiki/Category:Clothing
PRODUCT_CONSTRUCTION
          http://en.wikipedia.org/wiki/Category:Construction
PRODUCT_COSTUME
          http://en.wikipedia.org/wiki/Category:Costume_design
PRODUCT_ELECTRONIC
          http://en.wikipedia.org/wiki/Category:Electronics
PRODUCT_FURNITURE
          http://en.wikipedia.org/wiki/Category:Furniture
PRODUCT_GARDEN
          http://en.wikipedia.org/wiki/Category:Gardening
PRODUCT_HOBBY
          http://en.wikipedia.org/wiki/Category:Hobbies
PRODUCT_HOUSEHOLD
          http://en.wikipedia.org/wiki/Category:Home
PRODUCT_JEWELRY
          http://en.wikipedia.org/wiki/Category:Jewellery
PRODUCT_MOTOR
          http://en.wikipedia.org/wiki/Category:Vehicles
PRODUCT_MUSIC
          http://en.wikipedia.org/wiki/Category:Music
PRODUCT_SHOE
          http://en.wikipedia.org/wiki/Category:Shoes
PRODUCT_SPORT
          http://en.wikipedia.org/wiki/Category:Sports
PRODUCT_TORGET
          Deprecated. specific to finn.no will be removed before sesat-3.0
PRODUCT_WATCH
          http://en.wikipedia.org/wiki/Category:Watches
PRODUCT_WEAPON
          http://en.wikipedia.org/wiki/Category:Weapons
PROFESSION
          http://en.wikipedia.org/wiki/Category:Occupations
PUBLIC_SERVICE_BROADCASTING
          Deprecated. will be removed before sesat-3.0. use anonymous or see #TVPROGRAM
RECEIPE_MAGIC
          Deprecated. not a category, but a keyword used as a portal into another search mode
SITEPREFIX
          Deprecated. inappropriate method to determine if the "site:" field has been applied to a term.
SKIINFO_MAGIC
          Deprecated. not a category, but a keyword used as a portal into another search mode
SKIINFO_TRIGGER
          Deprecated. not a category, but keywords used as a portal into another search mode
STOCK_MAGIC
          Deprecated. not a category, but a keyword used as a portal into another search mode
STOCKMARKETFIRMS
          http://en.wikipedia.org/wiki/Category:Publicly_traded_companies
STOCKMARKETTICKERS
          http://en.wikipedia.org/wiki/Category:Security_identifier_types
STYLE
          http://en.wikipedia.org/wiki/Category:Genres
SUDOKU_TRIGGER
          Deprecated. not a category, but keywords used as a portal into another search mode
TNS
          Deprecated. will be remove before sesat-3.0. a list of locally popular commercial websites is business related.
TRADEMARK
          http://en.wikipedia.org/wiki/Category:Trademarks
TV_MAGIC
          Deprecated. not a category, but a keyword used as a portal into another search mode
TV_TRIGGER
          Deprecated. not a category, but keywords used as a portal into another search mode
TVCHANNEL
          http://en.wikipedia.org/wiki/Category:Television_stations
TVPROGRAM
          http://en.wikipedia.org/wiki/Category:Television_programming
VIDEO_MAGIC
          Deprecated. not a category, but a keyword used as a portal into another search mode
VIDEO_TRIGGER
          Deprecated. not a category, but keywords used as a portal into another search mode
WEATHER_MAGIC
          Deprecated. not a category, but a keyword used as a portal into another search mode
WEATHER_TRIGGER
          Deprecated. not a category, but keywords used as a portal into another search mode
WEBTV_MAGIC
          Deprecated. not a category, but a keyword used as a portal into another search mode
WHITE_MAGIC
          Deprecated. not a category, but a keyword used as a portal into another search mode
WIKIPEDIA
          http://en.wikipedia.org/wiki/Category:Wikipedia
WIKIPEDIA_MAGIC
          Deprecated. not a category, but a keyword used as a portal into another search mode
WIKIPEDIA_TRIGGER
          Deprecated. not a category, but keywords used as a portal into another search mode
YELLOW_MAGIC
          Deprecated. not a category, but a keyword used as a portal into another search mode
 
Field Summary
 
Fields inherited from interface no.sesat.search.query.token.TokenPredicate
EXACT_PREFIX
 
Method Summary
 boolean evaluate(Object evalFactory)
          Evaluates to true if fastListName occurs in the query.
 TokenPredicate exactPeer()
          A token predicate that requires an exact match against the whole query.
static Categories valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Categories[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface no.sesat.search.query.token.TokenPredicate
name
 

Enum Constant Detail

ANIMAL

public static final Categories ANIMAL
http://en.wikipedia.org/wiki/Category:Animals


CATEGORY

public static final Categories CATEGORY
Deprecated. use COMPANYBRANCH instead
http://en.wikipedia.org/wiki/Category:Products_by_company ???


CELEBRITY

public static final Categories CELEBRITY
http://en.wikipedia.org/wiki/Category:Celebrities


COMPANYBRANCH

public static final Categories COMPANYBRANCH
http://en.wikipedia.org/wiki/Category:Products_by_company


COMPANYBRANCHKEYWORD

public static final Categories COMPANYBRANCHKEYWORD
Deprecated. a prioritised category of COMPANYBRANCH is business logic
http://en.wikipedia.org/wiki/Category:Products_by_company


CLASSIFIED_CATEGORY

public static final Categories CLASSIFIED_CATEGORY
Advertising categories, typically represented by "classifieds" websites. http://en.wikipedia.org/wiki/Category:Advertising


COMPANY_CHAIN

public static final Categories COMPANY_CHAIN
http://en.wikipedia.org/wiki/Category:Distribution,_retailing,_and_wholesaling


COMPANYENRICHMENT

public static final Categories COMPANYENRICHMENT
Deprecated. a prioritised category of COMPANYNAME is business logic
prioritised category of COMPANYNAME


COMPANY_KEYWORD

public static final Categories COMPANY_KEYWORD
Deprecated. a prioritised category of COMPANYBRANCH is business logic
a prioritised category of COMPANYBRANCH


COMPANY_KEYWORD_RESERVED

public static final Categories COMPANY_KEYWORD_RESERVED
Deprecated. a prioritised category of COMPANYBRANCH is business logic
a prioritised category of COMPANYBRANCH


BIGCOMPANY

public static final Categories BIGCOMPANY
Deprecated. a prioritised category of COMPANYNAME is business logic
a prioritised category of COMPANYNAME


DISEASE

public static final Categories DISEASE


ENGLISHWORDS

public static final Categories ENGLISHWORDS
http://en.wikipedia.org/wiki/Category:English_language


GEOLOCAL

public static final Categories GEOLOCAL
http://en.wikipedia.org/wiki/Category:Geography National geographical places (according to current skin).


GEOGLOBAL

public static final Categories GEOGLOBAL
http://en.wikipedia.org/wiki/Category:Geography International geographical places.


GEO_BOROUGH

public static final Categories GEO_BOROUGH
http://en.wikipedia.org/wiki/Category:Boroughs


GEO_COUNTY

public static final Categories GEO_COUNTY
http://en.wikipedia.org/wiki/Category:Counties


GEO_STREET

public static final Categories GEO_STREET
http://en.wikipedia.org/wiki/Category:Streets_and_roads


GEO_MUNICIPALITY

public static final Categories GEO_MUNICIPALITY
http://en.wikipedia.org/wiki/Category:Municipalities


GEO_AREA

public static final Categories GEO_AREA
Deprecated. ambiguos (within a geographical context). Essentially it is a mathematical term. Will be removed before Sesat-3.0

GEO_ZIPCODE

public static final Categories GEO_ZIPCODE
http://en.wikipedia.org/wiki/Category:Postal_codes_by_country


GEO_POSTALPLACE

public static final Categories GEO_POSTALPLACE
Deprecated. ambiguous. what is a postal place? somewhere that can receive post?

FIRSTNAME

public static final Categories FIRSTNAME
http://en.wikipedia.org/wiki/Category:Given_names


FOOD

public static final Categories FOOD
http://en.wikipedia.org/wiki/Category:Food_and_drink


FULLNAME

public static final Categories FULLNAME
http://en.wikipedia.org/wiki/Category:Names


LASTNAME

public static final Categories LASTNAME
http://en.wikipedia.org/wiki/Category:Surnames


MATERIAL

public static final Categories MATERIAL
http://en.wikipedia.org/wiki/Category:Materials


MOVIE_TITLE

public static final Categories MOVIE_TITLE
http://en.wikipedia.org/wiki/Category:Films


MOVIE_ACTOR

public static final Categories MOVIE_ACTOR
http://en.wikipedia.org/wiki/Category:Actors


MOVIE_DIRECTOR

public static final Categories MOVIE_DIRECTOR
http://en.wikipedia.org/wiki/Category:Film_directors


NEWSCASE

public static final Categories NEWSCASE
http://en.wikipedia.org/wiki/Category:News


NOPICTURE

public static final Categories NOPICTURE
Deprecated. will be removed before sesat-3.0

PICTURE

public static final Categories PICTURE
Deprecated. will be removed before sesat-3.0. what words to show a visual image of is business logic.

PRIOCOMPANYNAME

public static final Categories PRIOCOMPANYNAME
Deprecated. the definition of a Prioritised Company is business logic.
a Prioritised Company


PRODUCT_BICYCLE

public static final Categories PRODUCT_BICYCLE
http://en.wikipedia.org/wiki/Category:Cycle_types


PRODUCT_CAR

public static final Categories PRODUCT_CAR
http://en.wikipedia.org/wiki/Category:Automobiles


PRODUCT_CHILDREN

public static final Categories PRODUCT_CHILDREN
Products typically for children.


PRODUCT_CLOTHING

public static final Categories PRODUCT_CLOTHING
http://en.wikipedia.org/wiki/Category:Clothing


PRODUCT_CONSTRUCTION

public static final Categories PRODUCT_CONSTRUCTION
http://en.wikipedia.org/wiki/Category:Construction


PRODUCT_COSTUME

public static final Categories PRODUCT_COSTUME
http://en.wikipedia.org/wiki/Category:Costume_design


PRODUCT_ELECTRONIC

public static final Categories PRODUCT_ELECTRONIC
http://en.wikipedia.org/wiki/Category:Electronics


PRODUCT_FURNITURE

public static final Categories PRODUCT_FURNITURE
http://en.wikipedia.org/wiki/Category:Furniture


PRODUCT_GARDEN

public static final Categories PRODUCT_GARDEN
http://en.wikipedia.org/wiki/Category:Gardening


PRODUCT_HOBBY

public static final Categories PRODUCT_HOBBY
http://en.wikipedia.org/wiki/Category:Hobbies


PRODUCT_HOUSEHOLD

public static final Categories PRODUCT_HOUSEHOLD
http://en.wikipedia.org/wiki/Category:Home


PRODUCT_JEWELRY

public static final Categories PRODUCT_JEWELRY
http://en.wikipedia.org/wiki/Category:Jewellery


PRODUCT_MOTOR

public static final Categories PRODUCT_MOTOR
http://en.wikipedia.org/wiki/Category:Vehicles


PRODUCT_MUSIC

public static final Categories PRODUCT_MUSIC
http://en.wikipedia.org/wiki/Category:Music


PRODUCT_SHOE

public static final Categories PRODUCT_SHOE
http://en.wikipedia.org/wiki/Category:Shoes


PRODUCT_SPORT

public static final Categories PRODUCT_SPORT
http://en.wikipedia.org/wiki/Category:Sports


PRODUCT_WATCH

public static final Categories PRODUCT_WATCH
http://en.wikipedia.org/wiki/Category:Watches


PRODUCT_WEAPON

public static final Categories PRODUCT_WEAPON
http://en.wikipedia.org/wiki/Category:Weapons


PRODUCT_TORGET

public static final Categories PRODUCT_TORGET
Deprecated. specific to finn.no will be removed before sesat-3.0

PROFESSION

public static final Categories PROFESSION
http://en.wikipedia.org/wiki/Category:Occupations


OCEAN

public static final Categories OCEAN
http://en.wikipedia.org/wiki/Category:Bodies_of_water


STOCKMARKETTICKERS

public static final Categories STOCKMARKETTICKERS
http://en.wikipedia.org/wiki/Category:Security_identifier_types


STOCKMARKETFIRMS

public static final Categories STOCKMARKETFIRMS
http://en.wikipedia.org/wiki/Category:Publicly_traded_companies


STYLE

public static final Categories STYLE
http://en.wikipedia.org/wiki/Category:Genres


TNS

public static final Categories TNS
Deprecated. will be remove before sesat-3.0. a list of locally popular commercial websites is business related.

TVPROGRAM

public static final Categories TVPROGRAM
http://en.wikipedia.org/wiki/Category:Television_programming


TVCHANNEL

public static final Categories TVCHANNEL
http://en.wikipedia.org/wiki/Category:Television_stations


TRADEMARK

public static final Categories TRADEMARK
http://en.wikipedia.org/wiki/Category:Trademarks


WIKIPEDIA

public static final Categories WIKIPEDIA
http://en.wikipedia.org/wiki/Category:Wikipedia


ARTIST

public static final Categories ARTIST
http://en.wikipedia.org/wiki/Category:Artists


FICTION_CHARACTER

public static final Categories FICTION_CHARACTER
http://en.wikipedia.org/wiki/Category:Fictional_characters


MOTOR_SPORT

public static final Categories MOTOR_SPORT
http://en.wikipedia.org/wiki/Category:Motorsport


PUBLIC_SERVICE_BROADCASTING

public static final Categories PUBLIC_SERVICE_BROADCASTING
Deprecated. will be removed before sesat-3.0. use anonymous or see #TVPROGRAM
http://en.wikipedia.org/wiki/Category:Publicly_funded_broadcasters


IMAGES

public static final Categories IMAGES
Deprecated. will be removed before sesat-3.0. what words to show a visual image of is business logic.

BOOK_MAGIC

public static final Categories BOOK_MAGIC
Deprecated. not a category, but a keyword used as a portal into another search mode

CATALOGUE_MAGIC

public static final Categories CATALOGUE_MAGIC
Deprecated. not a category, but a keyword used as a portal into another search mode

CLASSIFIED_MAGIC

public static final Categories CLASSIFIED_MAGIC
Deprecated. not a category, but a keyword used as a portal into another search mode

CULTURE_MAGIC

public static final Categories CULTURE_MAGIC
Deprecated. not a category, but a keyword used as a portal into another search mode

MOVIE_MAGIC

public static final Categories MOVIE_MAGIC
Deprecated. not a category, but a keyword used as a portal into another search mode

NEWS_MAGIC

public static final Categories NEWS_MAGIC
Deprecated. not a category, but a keyword used as a portal into another search mode

OCEAN_MAGIC

public static final Categories OCEAN_MAGIC
Deprecated. not a category, but a keyword used as a portal into another search mode

PICTURE_MAGIC

public static final Categories PICTURE_MAGIC
Deprecated. not a category, but a keyword used as a portal into another search mode

VIDEO_MAGIC

public static final Categories VIDEO_MAGIC
Deprecated. not a category, but a keyword used as a portal into another search mode

RECEIPE_MAGIC

public static final Categories RECEIPE_MAGIC
Deprecated. not a category, but a keyword used as a portal into another search mode

SKIINFO_MAGIC

public static final Categories SKIINFO_MAGIC
Deprecated. not a category, but a keyword used as a portal into another search mode

STOCK_MAGIC

public static final Categories STOCK_MAGIC
Deprecated. not a category, but a keyword used as a portal into another search mode

TV_MAGIC

public static final Categories TV_MAGIC
Deprecated. not a category, but a keyword used as a portal into another search mode

WEATHER_MAGIC

public static final Categories WEATHER_MAGIC
Deprecated. not a category, but a keyword used as a portal into another search mode

WEBTV_MAGIC

public static final Categories WEBTV_MAGIC
Deprecated. not a category, but a keyword used as a portal into another search mode

WHITE_MAGIC

public static final Categories WHITE_MAGIC
Deprecated. not a category, but a keyword used as a portal into another search mode

WIKIPEDIA_MAGIC

public static final Categories WIKIPEDIA_MAGIC
Deprecated. not a category, but a keyword used as a portal into another search mode

YELLOW_MAGIC

public static final Categories YELLOW_MAGIC
Deprecated. not a category, but a keyword used as a portal into another search mode

MAP_MAGIC

public static final Categories MAP_MAGIC
Deprecated. not a category, but a keyword used as a portal into another search mode

BLOG_MAGIC

public static final Categories BLOG_MAGIC
Deprecated. not a category, but a keyword used as a portal into another search mode

CATALOGUE_TRIGGER

public static final Categories CATALOGUE_TRIGGER
Deprecated. not a category, but keywords used as a portal into another search mode

CLASSIFIED_TRIGGER

public static final Categories CLASSIFIED_TRIGGER
Deprecated. not a category, but keywords used as a portal into another search mode

LOAN_TRIGGER

public static final Categories LOAN_TRIGGER
Deprecated. not a category, but keywords used as a portal into another search mode

NEWS_TRIGGER

public static final Categories NEWS_TRIGGER
Deprecated. not a category, but keywords used as a portal into another search mode

OCEAN_TRIGGER

public static final Categories OCEAN_TRIGGER
Deprecated. not a category, but keywords used as a portal into another search mode

PICTURE_TRIGGER

public static final Categories PICTURE_TRIGGER
Deprecated. not a category, but keywords used as a portal into another search mode

VIDEO_TRIGGER

public static final Categories VIDEO_TRIGGER
Deprecated. not a category, but keywords used as a portal into another search mode

SKIINFO_TRIGGER

public static final Categories SKIINFO_TRIGGER
Deprecated. not a category, but keywords used as a portal into another search mode

SUDOKU_TRIGGER

public static final Categories SUDOKU_TRIGGER
Deprecated. not a category, but keywords used as a portal into another search mode

TV_TRIGGER

public static final Categories TV_TRIGGER
Deprecated. not a category, but keywords used as a portal into another search mode

WEATHER_TRIGGER

public static final Categories WEATHER_TRIGGER
Deprecated. not a category, but keywords used as a portal into another search mode

WIKIPEDIA_TRIGGER

public static final Categories WIKIPEDIA_TRIGGER
Deprecated. not a category, but keywords used as a portal into another search mode

SITEPREFIX

public static final Categories SITEPREFIX
Deprecated. inappropriate method to determine if the "site:" field has been applied to a term.

COMPANYSUFFIX

public static final Categories COMPANYSUFFIX
While not exactly matching the "Types of Companies" category http://en.wikipedia.org/wiki/Category:Types_of_companies it does intend to provide a list of abbreviations commonly used to identify these difference types of companies


ORGNR

public static final Categories ORGNR
Each country has a different format in its company/organisation numbers. For example in norway organisation numbers are always nine digits.


PHONENUMBER

public static final Categories PHONENUMBER
Each country has a different format for phone numbers. The query parser has a very generic test for matching phone numbers that appear in any country. This Category can be used to further test against a particular country's format.


ONLYSKIINFO

public static final Categories ONLYSKIINFO
Deprecated. will be removed before sesat-3.0

EMPTYQUERY

public static final Categories EMPTYQUERY
A completely empty query.


MATH

public static final Categories MATH
http://en.wikipedia.org/wiki/Category:Equations

Method Detail

values

public static Categories[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Categories c : Categories.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Categories valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

evaluate

public boolean evaluate(Object evalFactory)
Description copied from interface: TokenPredicate
Evaluates to true if fastListName occurs in the query. This method uses a TokenEvaluationEngine to get a TokenEvaluator. This method can only be called from the RunningQuery thread, not spawned search commands.

Specified by:
evaluate in interface TokenPredicate
Specified by:
evaluate in interface org.apache.commons.collections.Predicate
Parameters:
evalFactory - The TTokenEvaluationEngineused to get a TokenEvaluator for this fastListName, AND to get the current term in the query being tokenised.
Returns:
true if, according to the TokenEvaluator provided by the TokTokenEvaluationEngineastListName evaluates to true.

exactPeer

public TokenPredicate exactPeer()
Description copied from interface: TokenPredicate
A token predicate that requires an exact match against the whole query. A exact peer instance must return itself.

Specified by:
exactPeer in interface TokenPredicate
Returns:


Copyright © 2005-2009 Schibsted ASA. All Rights Reserved.