Class flSearchIndexer
flSearchIndexer Class
Class to index and manage search data.
- flSearch
- flSearchIndexer
Package: fusionLib
Copyright: Copyright (c) 2008 - 2016 fusionLib. All rights reserved.
Located at system/libs/Search/flSearchIndexer.php
Copyright: Copyright (c) 2008 - 2016 fusionLib. All rights reserved.
Located at system/libs/Search/flSearchIndexer.php
Methods summary
protected
integer
|
|
public
integer
|
#
addDocument( string|array $path, string $name, string $accessPerm = '', string $publishedAt = null )
Add a new document to the given path. |
public
boolean
|
|
public
boolean
|
#
moveDocument( string|array $src, string|array $dst )
Move a document to a new location in the tree. |
public
boolean
|
|
public
boolean
|
#
setDocumentAccess( string|array $path, string $accessPerm )
Set the access permission of a document. |
public
boolean
|
#
setDocumentPublishedAt( string|array $path, string $publishedAt )
Set the published at time of a document. |
public
|
|
public
|
|
public
|
|
public
boolean
|
#
indexDocument( string|array $path, array $text, string $accessPerm = '', float $docBoost = 1.0 )
Index the document text. |
public
boolean
|
#
tagDocument( string|array $path, string|array $tags, string $accessPerm = '' )
Record document tags. |
Methods inherited from flSearch
Properties summary
protected
array
|
$fieldCache
List of field names to ids. |
#
null
|
Properties inherited from flSearch
$db
,
$docs
,
$maxWordLen
,
$minWordLen
,
$stemmer
,
$stopWords
,
$tableBase