private void indexDocument(final IndexWriter indexWriter, final JsonNode node) throws IOException {
        val document = new Document();
        textFields.forEach(field -> {
            if (node.has(field)) {
                val fieldType = new FieldType(TextField.TYPE_STORED);
                fieldType.setTokenized(false);
                fieldType.setStoreTermVectorOffsets(true);
                fieldType.setStoreTermVectors(true);
                fieldType.setStoreTermVectorPayloads(true);
                fieldType.setStoreTermVectorPositions(true);
                document.add(new Field(field, node.get(field).asText(), fieldType));
            }
        });
        indexWriter.addDocument(document);
    }
Search data by entries.

@param searchFields the search entries
@param searchTerm   the query str
@return the list
@throws Exception the exception
support/cas-server-support-lucene/src/main/java/org/apereo/cas/lucene/LuceneSearchService.java