public interface SampleDocumentsLoader extends NamedListInitializedPlugin
| Modifier and Type | Method and Description |
|---|---|
default boolean |
ensureUniqueKey(SchemaField idField,
List<SolrInputDocument> docs)
Ensure every sample document has a unique ID, but only applies if the unique key field is a string.
|
SampleDocuments |
parseDocsFromStream(SolrParams params,
ContentStream stream,
int maxDocsToLoad) |
initSampleDocuments parseDocsFromStream(SolrParams params, ContentStream stream, int maxDocsToLoad) throws IOException
IOExceptiondefault boolean ensureUniqueKey(SchemaField idField, List<SolrInputDocument> docs)
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.