Package | Description |
---|---|
lucee.runtime.search |
Modifier and Type | Method and Description |
---|---|
SearchResulItem[] |
SearchCollection._search(SearchData data,
java.lang.String criteria,
java.lang.String language,
short type,
java.lang.String categoryTree,
java.lang.String[] category)
search the collection
|
void |
SearchCollection.create()
create a collection
|
SearchCollection |
SearchEngine.createCollection(java.lang.String name,
Resource path,
java.lang.String language,
boolean allowOverwrite)
Creates a new Collection and Store it (creating always a spellindex)
|
IndexResult |
SearchCollection.delete()
delete the collection
|
IndexResult |
SearchCollection.deleteIndex(PageContext pc,
java.lang.String key,
short type,
java.lang.String queryName)
delete a Index from collection
|
SearchCollection |
SearchEngine.getCollectionByName(java.lang.String name)
returns a collection by name
|
java.lang.String |
SearchResulItem.getCustom(int index) |
IndexResult |
SearchCollection.index(PageContext pc,
java.lang.String key,
short type,
java.lang.String urlpath,
java.lang.String title,
java.lang.String body,
java.lang.String language,
java.lang.String[] extensions,
java.lang.String query,
boolean recurse,
java.lang.String categoryTree,
java.lang.String[] categories,
java.lang.String custom1,
java.lang.String custom2,
java.lang.String custom3,
java.lang.String custom4)
updates a index of a collection
|
IndexResult |
SearchCollection.indexCustom(java.lang.String id,
QueryColumn title,
QueryColumn keyColumn,
QueryColumn[] bodyColumns,
java.lang.String language,
QueryColumn custom1,
QueryColumn custom2,
QueryColumn custom3,
QueryColumn custom4)
updates a collection with a custom
|
IndexResult |
SearchCollection.indexFile(java.lang.String id,
java.lang.String title,
Resource file,
java.lang.String language)
updates a collection with a file
|
IndexResult |
SearchCollection.indexPath(java.lang.String id,
java.lang.String title,
Resource dir,
java.lang.String[] extensions,
boolean recurse,
java.lang.String language)
updates a collection with a path
|
IndexResult |
SearchCollection.indexURL(java.lang.String id,
java.lang.String title,
java.net.URL url,
java.lang.String[] extensions,
boolean recurse,
java.lang.String language)
updates a collection with a url
|
void |
SearchEngine.init(Config config,
Resource searchDir,
LogAndSource log)
constructor of the class
|
void |
SearchCollection.map(Resource path)
map a Collection
|
void |
SearchCollection.optimize()
optimize a Collection
|
IndexResult |
SearchCollection.purge()
purge a collection
|
void |
SearchCollection.repair()
repair a Collection
|
int |
SearchCollection.search(SearchData data,
Query qry,
java.lang.String criteria,
java.lang.String language,
short type,
int startrow,
int maxrow,
java.lang.String categoryTree,
java.lang.String[] category)
search the collection
|