Go to the source code of this file.
|
const LUCENE_TOOL_PREFIX char *LT_EXACT_SEARCH_OP_S | LUCENE_TOOL_VAL ("=") |
|
const LUCENE_TOOL_PREFIX char *LT_NUM_TOTAL_HITS_S | LUCENE_TOOL_VAL ("total_hits") |
|
const LUCENE_TOOL_PREFIX char *LT_HITS_START_INDEX_S | LUCENE_TOOL_VAL ("from") |
|
const LUCENE_TOOL_PREFIX char *LT_HITS_END_INDEX_S | LUCENE_TOOL_VAL ("to") |
|
const LUCENE_TOOL_PREFIX char *LT_FACETS_S | LUCENE_TOOL_VAL ("facets") |
|
GRASSROOTS_LUCENE_API OperationStatus | ParseLuceneResults (LuceneTool *tool_p, const uint32 from, const uint32 to, bool(*lucene_results_callback_fn)(const json_t *document_p, const uint32 index, void *data_p), void *data_p) |
|
GRASSROOTS_LUCENE_API bool | SetLuceneToolName (LuceneTool *tool_p, const char *name_s) |
|
GRASSROOTS_LUCENE_API void | SetLuceneToolId (LuceneTool *tool_p, uuid_t id) |
|
GRASSROOTS_LUCENE_API bool | AddLuceneFacetResultsToJSON (LuceneTool *tool_p, json_t *metadata_p) |
|
GRASSROOTS_LUCENE_API bool | AddFacetResultToLucene (LuceneTool *tool_p, const char *name_s, const uint32 count) |
|
GRASSROOTS_LUCENE_API OperationStatus | IndexData (struct ServiceJob *job_p, const json_t *data_to_index_p, const char *job_name_s) |
|
◆ QueryMode
The internal method that the Lucene engine will use to build the query to search for.
Enumerator |
---|
QM_PARSER | Use a org.apache.lucene.queryparser.classic.QueryParser to build the query by passing it a string and letting it determine how to build thw query.
|
QM_TERMS | Create one or more Term/Phrase queries and programmatically combine them into a BooleanQuery.
|
QM_NUM_MODES | The number of different QueryModes.
|
◆ LUCENE_TOOL_VAL() [1/5]
const LUCENE_TOOL_PREFIX char* LT_EXACT_SEARCH_OP_S LUCENE_TOOL_VAL |
( |
| ) |
|
◆ LUCENE_TOOL_VAL() [2/5]
const LUCENE_TOOL_PREFIX char* LT_NUM_TOTAL_HITS_S LUCENE_TOOL_VAL |
( |
"total_hits" |
| ) |
|
◆ LUCENE_TOOL_VAL() [3/5]
const LUCENE_TOOL_PREFIX char* LT_HITS_START_INDEX_S LUCENE_TOOL_VAL |
( |
"from" |
| ) |
|
◆ LUCENE_TOOL_VAL() [4/5]
const LUCENE_TOOL_PREFIX char* LT_HITS_END_INDEX_S LUCENE_TOOL_VAL |
( |
"to" |
| ) |
|
◆ LUCENE_TOOL_VAL() [5/5]
const LUCENE_TOOL_PREFIX char* LT_FACETS_S LUCENE_TOOL_VAL |
( |
"facets" |
| ) |
|
◆ ParseLuceneResults()
◆ SetLuceneToolName()
◆ SetLuceneToolId()
◆ AddLuceneFacetResultsToJSON()
◆ AddFacetResultToLucene()
◆ IndexData()