Class ConceptTerm
java.lang.Object
de.cxp.ocs.elasticsearch.model.term.ConceptTerm
- All Implemented Interfaces:
- QueryStringTerm
A concept that consists of several tokens that have a specific meaning in their context.
 The separate tokens/terms/words should not be used separately.
 
Useful for languages that name things using several words, i.e. "iron flat"(en), "fer à repasser"(fr), "plancha de ropa"(es)
- Author:
- Rudolf Batt
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanPrepare the term for a query-string-query.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.cxp.ocs.elasticsearch.model.term.QueryStringTermgetOccur
- 
Constructor Details- 
ConceptTerm
 
- 
- 
Method Details- 
toQueryStringDescription copied from interface:QueryStringTermPrepare the term for a query-string-query.- Specified by:
- toQueryStringin interface- QueryStringTerm
- Returns:
- term in query-string-query format.
 
- 
isEnclosedpublic boolean isEnclosed()- Specified by:
- isEnclosedin interface- QueryStringTerm
- Returns:
- if that query is already enclosed in quotes or brackets.
 
- 
getRawTerm- Specified by:
- getRawTermin interface- QueryStringTerm
- Returns:
- the single original unescaped term.
 
 
-