Package com.arangodb.entity.arangosearch
Class FieldLink
java.lang.Object
com.arangodb.entity.arangosearch.FieldLink
-
Method Summary
Modifier and TypeMethodDescriptiongetCache()
getName()
inBackground
(Boolean inBackground) includeAllFields
(Boolean includeAllFields) static FieldLink
Creates an instance ofFieldLink
on the given field namestoreValues
(StoreValuesType storeValues) trackListPositions
(Boolean trackListPositions)
-
Method Details
-
on
Creates an instance ofFieldLink
on the given field name- Parameters:
name
- Name of a field- Returns:
- new instance of
FieldLink
-
analyzers
- Parameters:
analyzers
- The list of analyzers to be used for indexing of string values (default: ["identity"]).- Returns:
- link
-
includeAllFields
- Parameters:
includeAllFields
- The flag determines whether or not to index all fields on a particular level of depth (default: false).- Returns:
- link
-
trackListPositions
- Parameters:
trackListPositions
- The flag determines whether or not values in a lists should be treated separate (default: false).- Returns:
- link
-
storeValues
- Parameters:
storeValues
- How should the view track the attribute values, this setting allows for additional value retrieval optimizations (default "none").- Returns:
- link
-
fields
- Parameters:
fields
- A list of linked fields- Returns:
- link
-
nested
- Parameters:
nested
- A list of nested fields- Returns:
- link
- Since:
- ArangoDB 3.10
-
inBackground
- Parameters:
inBackground
- If set to true, then no exclusive lock is used on the source collection during View index creation, so that it remains basically available. inBackground is an option that can be set when adding links. It does not get persisted as it is not a View property, but only a one-off option. (default: false)- Returns:
- link
-
cache
- Parameters:
cache
- If you enable this option, then field normalization values are always cached in memory. This can improve the performance of scoring and ranking queries. Otherwise, these values are memory-mapped and it is up to the operating system to load them from disk into memory and to evict them from memory.- Returns:
- link
- Since:
- ArangoDB 3.9.5, Enterprise Edition only
-
getName
-
getAnalyzers
-
getIncludeAllFields
-
getTrackListPositions
-
getStoreValues
-
getFields
-
getNested
-
getInBackground
-
getCache
-