\Lucene

Implements global search on instance using Lucene.

Summary

Methods
Properties
Constants
singleton()
getPath()
getIndex()
isActive()
save()
delete()
saveFile()
deleteFile()
No public properties found
ITEM
FILE
MEDIA
No protected methods found
No protected properties found
N/A
__construct()
pdfToIndex()
docxToIndex()
pptxToIndex()
xlsxToIndex()
txtToIndex()
docToIndex()
htmlToIndex()
$lucene
$index
$path
N/A

Constants

ITEM

ITEM

FILE

FILE

MEDIA

MEDIA

Properties

$lucene

$lucene : 

Type

$index

$index : 

Type

$path

$path : 

Type

Methods

singleton()

singleton() 

getPath()

getPath() 

getIndex()

getIndex() 

isActive()

isActive() 

save()

save(  $url,   $content,   $indexTo = FALSE,   $section = FALSE,   $local = '') 

Parameters

$url
$content
$indexTo
$section
$local

delete()

delete(  $url) 

Parameters

$url

saveFile()

saveFile(  $ids,   $indexAll = FALSE) 

Parameters

$ids
$indexAll

deleteFile()

deleteFile(  $fileIds) 

Parameters

$fileIds

__construct()

__construct() 

pdfToIndex()

pdfToIndex(  $obj) 

Parameters

$obj

docxToIndex()

docxToIndex(  $obj) 

Parameters

$obj

pptxToIndex()

pptxToIndex(  $obj) 

Parameters

$obj

xlsxToIndex()

xlsxToIndex(  $obj) 

Parameters

$obj

txtToIndex()

txtToIndex(  $obj) 

Parameters

$obj

docToIndex()

docToIndex(  $obj) 

Parameters

$obj

htmlToIndex()

htmlToIndex(  $obj) 

Parameters

$obj