@Retention(value=RUNTIME) @Target(value=FIELD) @Documented public @interface DSE_Search
Important: Achilles will NOT attempt to create the index for DSE Search even if doForceSchemaCreation() is set to true. You should create the index in DSE yourself using dsetool create core .... (please refer to DSE documentation)
Nevertheless, Achilles will check the existence of DSE Search index at runtime and will complain if it cannot be found.
Also, please note that currently OR clause is not yet supported by Achilles. Please use ...where().rawSolrQuery(String rawSolrQuery) to search using OR clauses
Additionally, you need not map the solr_query in your Java bean. Just put the @DSE_Search annotation on the fields you want to search and Achilles will generate the appropriate DSL source code.
| Modifier and Type | Fields and Description |
|---|---|
static String |
SOLR_DATE_FORMAT |
| Modifier and Type | Optional Element and Description |
|---|---|
boolean |
fullTextSearchEnabled
Only useful on a text/ascii field/column.
|
public static final String SOLR_DATE_FORMAT
public abstract boolean fullTextSearchEnabled
Copyright © 2012-2021. All Rights Reserved.