Package | Description |
---|---|
lucee.runtime.search | |
lucee.runtime.search.lucene2 |
Modifier and Type | Method and Description |
---|---|
SearchResulItem[] |
SearchCollection._search(SearchData data,
String criteria,
String language,
short type,
String categoryTree,
String[] category)
search the collection
|
void |
SearchCollectionSupport.create() |
void |
SearchCollectionSupport2.create() |
void |
SearchCollection.create()
create a collection
|
SearchCollection |
SearchEngineSupport.createCollection(String name,
Resource path,
String language,
boolean allowOverwrite) |
SearchCollection |
SearchEngine.createCollection(String name,
Resource path,
String language,
boolean allowOverwrite)
Creates a new Collection and Store it (creating always a spellindex)
|
IndexResult |
SearchCollectionSupport.delete() |
IndexResult |
SearchCollectionSupport2.delete() |
IndexResult |
SearchCollection.delete()
delete the collection
|
IndexResult |
SearchCollectionSupport.deleteCustom(String id,
QueryColumn keyColumn) |
IndexResult |
SearchCollectionSupport.deleteIndex(PageContext pc,
String key,
short type,
String queryName) |
IndexResult |
SearchCollectionSupport2.deleteIndex(PageContext pc,
String key,
short type,
String queryName) |
IndexResult |
SearchCollection.deleteIndex(PageContext pc,
String key,
short type,
String queryName)
delete a Index from collection
|
IndexResult |
SearchCollectionSupport.deleteIndexNotCustom(PageContext pc,
String key,
short type,
String queryName) |
SearchCollection |
SearchEngineSupport.getCollectionByName(String name) |
SearchCollection |
SearchEngine.getCollectionByName(String name)
returns a collection by name
|
String |
SearchResulItemImpl.getCustom(int index) |
String |
SearchResulItem.getCustom(int index) |
IndexResult |
SearchCollectionSupport.index(PageContext pc,
String key,
short type,
String urlpath,
String title,
String body,
String language,
String[] extensions,
String query,
boolean recurse,
String categoryTree,
String[] categories,
long timeout,
String custom1,
String custom2,
String custom3,
String custom4) |
IndexResult |
SearchCollectionSupport2.index(PageContext pc,
String key,
short type,
String urlpath,
String title,
String body,
String language,
String[] extensions,
String query,
boolean recurse,
String categoryTree,
String[] categories,
long timeout,
String custom1,
String custom2,
String custom3,
String custom4) |
IndexResult |
SearchCollectionSupport.index(PageContext pc,
String key,
short type,
String urlpath,
String title,
String body,
String language,
String[] extensions,
String query,
boolean recurse,
String categoryTree,
String[] categories,
String custom1,
String custom2,
String custom3,
String custom4) |
IndexResult |
SearchCollectionSupport2.index(PageContext pc,
String key,
short type,
String urlpath,
String title,
String body,
String language,
String[] extensions,
String query,
boolean recurse,
String categoryTree,
String[] categories,
String custom1,
String custom2,
String custom3,
String custom4) |
IndexResult |
SearchCollection.index(PageContext pc,
String key,
short type,
String urlpath,
String title,
String body,
String language,
String[] extensions,
String query,
boolean recurse,
String categoryTree,
String[] categories,
String custom1,
String custom2,
String custom3,
String custom4)
updates a index of a collection
|
IndexResult |
SearchCollectionSupport2.indexCustom(SearchIndex si,
QueryColumn colTitle,
QueryColumn keyColumn,
QueryColumn[] bodyColumns,
QueryColumn ct1Column,
QueryColumn ct2Column,
QueryColumn ct3Column,
QueryColumn ct4Column) |
IndexResult |
SearchCollectionSupport2.indexCustom(SearchIndex si,
QueryColumn colTitle,
QueryColumn keyColumn,
QueryColumn[] bodyColumns,
QueryColumn urlpath,
QueryColumn ct1Column,
QueryColumn ct2Column,
QueryColumn ct3Column,
QueryColumn ct4Column) |
IndexResult |
SearchCollectionSupport.indexCustom(String id,
Object title,
QueryColumn keyColumn,
QueryColumn[] bodyColumns,
String language,
Object urlpath,
Object custom1,
Object custom2,
Object custom3,
Object custom4) |
IndexResult |
SearchCollectionSupport.indexCustom(String id,
QueryColumn title,
QueryColumn keyColumn,
QueryColumn[] bodyColumns,
String language,
QueryColumn custom1,
QueryColumn custom2,
QueryColumn custom3,
QueryColumn custom4) |
IndexResult |
SearchCollectionSupport2.indexCustom(String id,
QueryColumn title,
QueryColumn keyColumn,
QueryColumn[] bodyColumns,
String language,
QueryColumn custom1,
QueryColumn custom2,
QueryColumn custom3,
QueryColumn custom4) |
IndexResult |
SearchCollection.indexCustom(String id,
QueryColumn title,
QueryColumn keyColumn,
QueryColumn[] bodyColumns,
String language,
QueryColumn custom1,
QueryColumn custom2,
QueryColumn custom3,
QueryColumn custom4)
updates a collection with a custom
|
IndexResult |
SearchCollectionSupport2.indexFile(SearchIndex si,
Resource file) |
IndexResult |
SearchCollectionSupport.indexFile(String id,
String title,
Resource res,
String language) |
IndexResult |
SearchCollectionSupport2.indexFile(String id,
String title,
Resource res,
String language) |
IndexResult |
SearchCollection.indexFile(String id,
String title,
Resource file,
String language)
updates a collection with a file
|
IndexResult |
SearchCollectionSupport2.indexPath(SearchIndex si,
Resource dir,
boolean recurse) |
IndexResult |
SearchCollectionSupport.indexPath(String id,
String title,
Resource dir,
String[] extensions,
boolean recurse,
String language) |
IndexResult |
SearchCollectionSupport2.indexPath(String id,
String title,
Resource dir,
String[] extensions,
boolean recurse,
String language) |
IndexResult |
SearchCollection.indexPath(String id,
String title,
Resource dir,
String[] extensions,
boolean recurse,
String language)
updates a collection with a path
|
IndexResult |
SearchCollectionSupport2.indexURL(SearchIndex si,
URL url,
boolean recurse,
long timeout) |
IndexResult |
SearchCollectionSupport.indexURL(String id,
String title,
URL url,
String[] extensions,
boolean recurse,
String language) |
IndexResult |
SearchCollectionSupport2.indexURL(String id,
String title,
URL url,
String[] extensions,
boolean recurse,
String language) |
IndexResult |
SearchCollection.indexURL(String id,
String title,
URL url,
String[] extensions,
boolean recurse,
String language)
updates a collection with a url
|
IndexResult |
SearchCollectionSupport.indexURL(String id,
String title,
URL url,
String[] extensions,
boolean recurse,
String language,
long timeout) |
IndexResult |
SearchCollectionSupport2.indexURL(String id,
String title,
URL url,
String[] extensions,
boolean recurse,
String language,
long timeout) |
void |
SearchEngineSupport.init(Config config,
Resource searchDir,
LogAndSource log) |
void |
SearchEngine.init(Config config,
Resource searchDir,
LogAndSource log)
constructor of the class
|
void |
SearchCollectionSupport.map(Resource path) |
void |
SearchCollectionSupport2.map(Resource path) |
void |
SearchCollection.map(Resource path)
map a Collection
|
void |
SearchCollectionSupport.optimize() |
void |
SearchCollectionSupport2.optimize() |
void |
SearchCollection.optimize()
optimize a Collection
|
IndexResult |
SearchCollectionSupport.purge() |
IndexResult |
SearchCollectionSupport2.purge() |
IndexResult |
SearchCollection.purge()
purge a collection
|
void |
SearchCollectionSupport.repair() |
void |
SearchCollectionSupport2.repair() |
void |
SearchCollection.repair()
repair a Collection
|
int |
SearchCollectionSupport.search(SearchData data,
Query qry,
String criteria,
String language,
short type,
int startrow,
int maxrow,
String categoryTree,
String[] categories) |
int |
SearchCollectionSupport2.search(SearchData data,
Query qry,
String criteria,
String language,
short type,
int startrow,
int maxrow,
String categoryTree,
String[] categories) |
int |
SearchCollection.search(SearchData data,
Query qry,
String criteria,
String language,
short type,
int startrow,
int maxrow,
String categoryTree,
String[] category)
search the collection
|
static String |
SearchIndex.toStringType(short type)
cast short type to string
|
static short |
SearchIndex.toType(String type)
cast string type to short
|
Modifier and Type | Method and Description |
---|---|
SearchCollection |
LuceneSearchEngine._createCollection(String name,
Resource path,
String language) |
static org.apache.lucene.analysis.Analyzer |
LuceneSearchCollection._getAnalyzer(String language)
Deprecated.
see SearchUtil.getAnalyzer(String language);
|
IndexResult |
LuceneSearchCollection._indexURL(String id,
String title,
URL url,
String[] extensions,
boolean recurse,
String language,
long timeout) |
SearchCollection |
LuceneSearchEngine._readCollection(String name,
Resource path,
String language,
DateTime lastUpdate,
DateTime created) |
void |
LuceneSearchEngine._removeCollection(SearchCollection collection) |
SearchResulItem[] |
LuceneSearchCollection._search(SearchData data,
String criteria,
String language,
short type,
String categoryTree,
String[] category) |
static org.apache.lucene.analysis.Analyzer |
SearchUtil.getAnalyzer(String language) |
String |
SearchResulItemHits.getCustom(int index) |
Copyright © 2015 Lucee