RefyIndexesCreator

@Component
open class RefyIndexesCreator : IndexesCreator

The RefyIndexesCreator is a custom component used to create the fulltext indexes to filter the items query such links, collections and tables using the FullText-Search (FTS) approach

Author

N7ghtm4r3 - Tecknobit

Since

1.0.1

See also

IndexesCreator

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
protected val _KEY_NAME: String = "Key_name='"
Link copied to clipboard
protected open var entityManager: EntityManager
Link copied to clipboard
FULL_TEXT_INDEX_FIELDS the fields used to create the fulltext index

Functions

Link copied to clipboard
protected open fun assembleCreateIndexQuery(table: String, indexType: String, indexName: String, fields: List<String>): String
Link copied to clipboard
Method used to create the fulltext index in the collections table
Link copied to clipboard
protected open fun createFullTextIndex(table: String, indexName: String, fields: List<String>)
Link copied to clipboard
protected open fun createIndex(table: String, indexName: String, indexType: String, fields: List<String>)
Link copied to clipboard
@PostConstruct
open fun createIndexes()
Link copied to clipboard
Method used to create the fulltext index in the links table
Link copied to clipboard
Method used to create the fulltext index in the teams table
Link copied to clipboard
open fun formatFullTextKeywords(keywords: Collection<String>, escapeDoubleQuotes: Boolean): String