Class BoolQuery
java.lang.Object
fr.paris.lutece.plugins.libraryelastic.business.search.AbstractSearchQuery
fr.paris.lutece.plugins.libraryelastic.business.search.BoolQuery
JSON object for representing a Bool Query in search request
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddFilter(AbstractSearchLeaf leaf) voidaddMust(AbstractSearchLeaf leaf) voidaddMustNot(AbstractSearchLeaf leaf) voidaddShould(AbstractSearchLeaf leaf) getMust()Methods inherited from class fr.paris.lutece.plugins.libraryelastic.business.search.AbstractSearchQuery
mapToNode
-
Constructor Details
-
BoolQuery
public BoolQuery()
-
-
Method Details
-
getNodeName
-
getMust
- Returns:
- the listMust
-
addMust
-
getFilter
- Returns:
- the listFilter
-
addFilter
- Parameters:
leaf- to add to listFilter
-
getShould
- Returns:
- the listShould
-
addShould
- Parameters:
leaf- to add to listShould
-
getMustNot
- Returns:
- the listMustNot
-
addMustNot
- Parameters:
leaf- to add to listMustNot
-