|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Categories>
no.sesat.search.query.token.Categories
public enum Categories
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
| 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 |
|---|
public static final Categories ANIMAL
http://en.wikipedia.org/wiki/Category:Animals
public static final Categories CATEGORY
http://en.wikipedia.org/wiki/Category:Products_by_company ???
public static final Categories CELEBRITY
http://en.wikipedia.org/wiki/Category:Celebrities
public static final Categories COMPANYBRANCH
http://en.wikipedia.org/wiki/Category:Products_by_company
public static final Categories COMPANYBRANCHKEYWORD
http://en.wikipedia.org/wiki/Category:Products_by_company
public static final Categories CLASSIFIED_CATEGORY
http://en.wikipedia.org/wiki/Category:Advertising
public static final Categories COMPANY_CHAIN
http://en.wikipedia.org/wiki/Category:Distribution,_retailing,_and_wholesaling
public static final Categories COMPANYENRICHMENT
public static final Categories COMPANY_KEYWORD
public static final Categories COMPANY_KEYWORD_RESERVED
public static final Categories BIGCOMPANY
public static final Categories DISEASE
public static final Categories ENGLISHWORDS
http://en.wikipedia.org/wiki/Category:English_language
public static final Categories GEOLOCAL
http://en.wikipedia.org/wiki/Category:Geography
National geographical places (according to current skin).
public static final Categories GEOGLOBAL
http://en.wikipedia.org/wiki/Category:Geography
International geographical places.
public static final Categories GEO_BOROUGH
http://en.wikipedia.org/wiki/Category:Boroughs
public static final Categories GEO_COUNTY
http://en.wikipedia.org/wiki/Category:Counties
public static final Categories GEO_STREET
http://en.wikipedia.org/wiki/Category:Streets_and_roads
public static final Categories GEO_MUNICIPALITY
http://en.wikipedia.org/wiki/Category:Municipalities
public static final Categories GEO_AREA
public static final Categories GEO_ZIPCODE
http://en.wikipedia.org/wiki/Category:Postal_codes_by_country
public static final Categories GEO_POSTALPLACE
public static final Categories FIRSTNAME
http://en.wikipedia.org/wiki/Category:Given_names
public static final Categories FOOD
http://en.wikipedia.org/wiki/Category:Food_and_drink
public static final Categories FULLNAME
http://en.wikipedia.org/wiki/Category:Names
public static final Categories LASTNAME
http://en.wikipedia.org/wiki/Category:Surnames
public static final Categories MATERIAL
http://en.wikipedia.org/wiki/Category:Materials
public static final Categories MOVIE_TITLE
http://en.wikipedia.org/wiki/Category:Films
public static final Categories MOVIE_ACTOR
http://en.wikipedia.org/wiki/Category:Actors
public static final Categories MOVIE_DIRECTOR
http://en.wikipedia.org/wiki/Category:Film_directors
public static final Categories NEWSCASE
http://en.wikipedia.org/wiki/Category:News
public static final Categories NOPICTURE
public static final Categories PICTURE
public static final Categories PRIOCOMPANYNAME
public static final Categories PRODUCT_BICYCLE
http://en.wikipedia.org/wiki/Category:Cycle_types
public static final Categories PRODUCT_CAR
http://en.wikipedia.org/wiki/Category:Automobiles
public static final Categories PRODUCT_CHILDREN
public static final Categories PRODUCT_CLOTHING
http://en.wikipedia.org/wiki/Category:Clothing
public static final Categories PRODUCT_CONSTRUCTION
http://en.wikipedia.org/wiki/Category:Construction
public static final Categories PRODUCT_COSTUME
http://en.wikipedia.org/wiki/Category:Costume_design
public static final Categories PRODUCT_ELECTRONIC
http://en.wikipedia.org/wiki/Category:Electronics
public static final Categories PRODUCT_FURNITURE
http://en.wikipedia.org/wiki/Category:Furniture
public static final Categories PRODUCT_GARDEN
http://en.wikipedia.org/wiki/Category:Gardening
public static final Categories PRODUCT_HOBBY
http://en.wikipedia.org/wiki/Category:Hobbies
public static final Categories PRODUCT_HOUSEHOLD
http://en.wikipedia.org/wiki/Category:Home
public static final Categories PRODUCT_JEWELRY
http://en.wikipedia.org/wiki/Category:Jewellery
public static final Categories PRODUCT_MOTOR
http://en.wikipedia.org/wiki/Category:Vehicles
public static final Categories PRODUCT_MUSIC
http://en.wikipedia.org/wiki/Category:Music
public static final Categories PRODUCT_SHOE
http://en.wikipedia.org/wiki/Category:Shoes
public static final Categories PRODUCT_SPORT
http://en.wikipedia.org/wiki/Category:Sports
public static final Categories PRODUCT_WATCH
http://en.wikipedia.org/wiki/Category:Watches
public static final Categories PRODUCT_WEAPON
http://en.wikipedia.org/wiki/Category:Weapons
public static final Categories PRODUCT_TORGET
public static final Categories PROFESSION
http://en.wikipedia.org/wiki/Category:Occupations
public static final Categories OCEAN
http://en.wikipedia.org/wiki/Category:Bodies_of_water
public static final Categories STOCKMARKETTICKERS
http://en.wikipedia.org/wiki/Category:Security_identifier_types
public static final Categories STOCKMARKETFIRMS
http://en.wikipedia.org/wiki/Category:Publicly_traded_companies
public static final Categories STYLE
http://en.wikipedia.org/wiki/Category:Genres
public static final Categories TNS
public static final Categories TVPROGRAM
http://en.wikipedia.org/wiki/Category:Television_programming
public static final Categories TVCHANNEL
http://en.wikipedia.org/wiki/Category:Television_stations
public static final Categories TRADEMARK
http://en.wikipedia.org/wiki/Category:Trademarks
public static final Categories WIKIPEDIA
http://en.wikipedia.org/wiki/Category:Wikipedia
public static final Categories ARTIST
http://en.wikipedia.org/wiki/Category:Artists
public static final Categories FICTION_CHARACTER
http://en.wikipedia.org/wiki/Category:Fictional_characters
public static final Categories MOTOR_SPORT
http://en.wikipedia.org/wiki/Category:Motorsport
public static final Categories PUBLIC_SERVICE_BROADCASTING
http://en.wikipedia.org/wiki/Category:Publicly_funded_broadcasters
public static final Categories IMAGES
public static final Categories BOOK_MAGIC
public static final Categories CATALOGUE_MAGIC
public static final Categories CLASSIFIED_MAGIC
public static final Categories CULTURE_MAGIC
public static final Categories MOVIE_MAGIC
public static final Categories NEWS_MAGIC
public static final Categories OCEAN_MAGIC
public static final Categories PICTURE_MAGIC
public static final Categories VIDEO_MAGIC
public static final Categories RECEIPE_MAGIC
public static final Categories SKIINFO_MAGIC
public static final Categories STOCK_MAGIC
public static final Categories TV_MAGIC
public static final Categories WEATHER_MAGIC
public static final Categories WEBTV_MAGIC
public static final Categories WHITE_MAGIC
public static final Categories WIKIPEDIA_MAGIC
public static final Categories YELLOW_MAGIC
public static final Categories MAP_MAGIC
public static final Categories BLOG_MAGIC
public static final Categories CATALOGUE_TRIGGER
public static final Categories CLASSIFIED_TRIGGER
public static final Categories LOAN_TRIGGER
public static final Categories NEWS_TRIGGER
public static final Categories OCEAN_TRIGGER
public static final Categories PICTURE_TRIGGER
public static final Categories VIDEO_TRIGGER
public static final Categories SKIINFO_TRIGGER
public static final Categories SUDOKU_TRIGGER
public static final Categories TV_TRIGGER
public static final Categories WEATHER_TRIGGER
public static final Categories WIKIPEDIA_TRIGGER
public static final Categories SITEPREFIX
public static final Categories COMPANYSUFFIX
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
public static final Categories ORGNR
public static final Categories PHONENUMBER
public static final Categories ONLYSKIINFO
public static final Categories EMPTYQUERY
public static final Categories MATH
http://en.wikipedia.org/wiki/Category:Equations
| Method Detail |
|---|
public static Categories[] values()
for (Categories c : Categories.values()) System.out.println(c);
public static Categories valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic boolean evaluate(Object evalFactory)
TokenPredicate
evaluate in interface TokenPredicateevaluate in interface org.apache.commons.collections.PredicateevalFactory - The TTokenEvaluationEngineused to get a TokenEvaluator for
this fastListName, AND to get the current term in the query being tokenised.
public TokenPredicate exactPeer()
TokenPredicate
exactPeer in interface TokenPredicate
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||