|
Grassroots Infrastructure
The Grassroots Infrastructure is a suite of computing tools to help users and developers use scientific data infrastructure that can easily be interconnected.
|
A datatype for holding Lucene Documents. More...
#include <lucene_document.h>
Public Member Functions | |
| GRASSROOTS_LUCENE_API LuceneDocument * | AllocateLuceneDocument (void) |
| Allocate a LuceneDocument. More... | |
| GRASSROOTS_LUCENE_API void | FreeLuceneDocument (LuceneDocument *doc_p) |
| Free a LuceneDocument. More... | |
| GRASSROOTS_LUCENE_API bool | AddFieldToLuceneDocument (LuceneDocument *doc_p, const char *key_s, const char *value_s) |
| Add a field to a LuceneDocument. More... | |
Data Fields | |
| json_t * | ld_store_p |
A datatype for holding Lucene Documents.
| GRASSROOTS_LUCENE_API LuceneDocument * AllocateLuceneDocument | ( | void | ) |
Allocate a LuceneDocument.
NULL upon error. | GRASSROOTS_LUCENE_API void FreeLuceneDocument | ( | LuceneDocument * | doc_p | ) |
Free a LuceneDocument.
| doc_p | The LuceneDocument to free. |
| GRASSROOTS_LUCENE_API bool AddFieldToLuceneDocument | ( | LuceneDocument * | doc_p, |
| const char * | key_s, | ||
| const char * | value_s | ||
| ) |
Add a field to a LuceneDocument.
| doc_p | The LuceneDocument to amend. |
| json_t* ld_store_p |