Login   Register  
PHP Classes
elePHPant
Icontem

IFile: Index and search documents using Lucene or MySQL

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   Screenshots Screenshots   View files View files (137)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2013-11-21 (1 year ago) RSS 2.0 feedNot enough user ratingsTotal: 416 This week: 4All time: 5,802 This week: 415Up
Version License PHP version Categories  
indexfile 1.3GNU Lesser General Publ...5.1PHP 5, Files and Folders, Searching
Description Author  

This package can index and search documents using Lucene or MySQL.

It can index many types of documents using Lucene with Zend Search Lucene or full-text search with MySQL.

Currently it supports:

- Rich Text Format (.rtf)
- Moving Picture Expert Group-1/2 Audio Layer 3 (.mp3)
- Joint Photographic Experts Group (.jpg - .jpeg)
- Tagged Image File Format (.tiff)
- Microsoft Word 97-2000 (.doc)
- Microsoft Word 2003-2007 (.docx)
- Microsoft Excel 97-2000 (.xls)
- Microsoft Excel 2003-2007 (.xlsx)
- Microsoft PowerPoint 2003-2007 (.pptx)
- OpenOffice.org Writer (.odt)
- OpenOffice.org Calc (.ods)
- Adobe Portable Document Format (.pdf)
- Text (.txt)
- Web page (.htm - .html)
- eXtensible Markup Language (xml)

Innovation Award  
PHP Programming Innovation award nominee
November 2013
Number 2


Prize: One book of choice by Packt
Indexing documents available from a Web site is useful to allow the users to search for them using text based queries.

Search index databases may be built on MySQL, but using MySQL may cause excessive load to a Web site that is searched by many users at once.

This class provides a solution that uses files in the Lucene search index format as an alternative to index and search site documents using MySQL.

Manuel Lemos
Picture of Giampaolo Losito
Name: Giampaolo Losito <contact>
Classes: 1 package by
Country: Italy Italy
Age: 40
All time rank: 3125127 in Italy Italy
Week rank: 444 Up22 in Italy Italy Up
Innovation award
Innovation award
Nominee: 1x

Screenshots  
  • IFile
  Files folder image Files  
File Role Description
Files folder imageadapter (22 files, 2 directories)
Files folder imageconfig (3 files, 1 directory)
Files folder imageexample (24 files, 1 directory)
Files folder imagehelpers (6 files)
Files folder imageservercheck (2 files)
Files folder imagetokenfilter (1 directory)
Accessible without login Plain text file CHANGELOG.txt Data Documentation
Accessible without login Plain text file CHANGELOG_EN.txt Data Documentation
Plain text file IFileConfig.php Class Class source
Plain text file IFileFactory.php Class Class source
Plain text file IFileVersion.php Class Class source
Plain text file IFile_Exception.php Class Class source
Plain text file IFile_Indexing_Abstract.php Class Class source
Plain text file IFile_Indexing_Interface.php Class Class source
Plain text file IFile_Indexing_Lucene.php Class Class source
Plain text file IFile_Indexing_Mysqli.php Class Class source
Accessible without login Plain text file LICENSE.txt Lic. Documentation
Accessible without login Plain text file serverCheck.php Example Example script

  Files folder image Files  /  adapter  
File Role Description
Files folder imagebeans (1 file)
Files folder imagehelpers (8 files, 1 directory)
  Plain text file Adapter_Search_Luc...cument_Abstract.php Class Class source
  Plain text file Adapter_Search_Lucene_Document_DOC.php Class Class source
  Plain text file Adapter_Search_Lucene_Document_DOCX.php Class Class source
  Plain text file Adapter_Search_Lucene_Document_HTM.php Class Class source
  Plain text file Adapter_Search_Lucene_Document_HTML.php Class Class source
  Plain text file Adapter_Search_Luc...ument_Interface.php Class Class source
  Plain text file Adapter_Search_Lucene_Document_JPEG.php Class Class source
  Plain text file Adapter_Search_Lucene_Document_JPG.php Class Class source
  Plain text file Adapter_Search_Lucene_Document_MP3.php Class Class source
  Plain text file Adapter_Search_Lucene_Document_ODS.php Class Class source
  Plain text file Adapter_Search_Lucene_Document_ODT.php Class Class source
  Plain text file Adapter_Search_Luc...ment_OpenOffice.php Class Class source
  Plain text file Adapter_Search_Lucene_Document_PDF.php Class Class source
  Plain text file Adapter_Search_Lucene_Document_PPTX.php Class Class source
  Plain text file Adapter_Search_Lucene_Document_RTF.php Class Class source
  Plain text file Adapter_Search_Lucene_Document_TIF.php Class Class source
  Plain text file Adapter_Search_Lucene_Document_TIFF.php Class Class source
  Plain text file Adapter_Search_Lucene_Document_TXT.php Class Class source
  Plain text file Adapter_Search_Lucene_Document_XLS.php Class Class source
  Plain text file Adapter_Search_Lucene_Document_XLSX.php Class Class source
  Plain text file Adapter_Search_Lucene_Document_XML.php Class Class source
  Plain text file Adapter_Search_Lucene_Exception.php Class Class source

  Files folder image Files  /  adapter  /  beans  
File Role Description
  Plain text file LuceneDataIndexBean.php Class Class source

  Files folder image Files  /  adapter  /  helpers  
File Role Description
Files folder imagebinaries (1 directory)
  Plain text file AdapterHelper.php Class Class source
  Plain text file class.doc2txt.php Class Class source
  Plain text file class.excel2txt.php Class Class source
  Plain text file class.image2txt.php Class Class source
  Plain text file class.mp32txt.php Class Class source
  Plain text file class.openoffice2txt.php Class Class source
  Plain text file class.rtf2txt.php Class Class source
  Plain text file Helper_Exception.php Class Class source

  Files folder image Files  /  adapter  /  helpers  /  binaries  
File Role Description
Files folder imageresources (35 files)

  Files folder image Files  /  adapter  /  helpers  /  binaries  /  resources  
File Role Description
  Accessible without login Plain text file 8859-1.txt Doc. Documentation
  Accessible without login Plain text file 8859-10.txt Doc. Documentation
  Accessible without login Plain text file 8859-11.txt Doc. Documentation
  Accessible without login Plain text file 8859-13.txt Doc. Documentation
  Accessible without login Plain text file 8859-14.txt Doc. Documentation
  Accessible without login Plain text file 8859-15.txt Doc. Documentation
  Accessible without login Plain text file 8859-16.txt Doc. Documentation
  Accessible without login Plain text file 8859-2.txt Doc. Documentation
  Accessible without login Plain text file 8859-3.txt Doc. Documentation
  Accessible without login Plain text file 8859-4.txt Doc. Documentation
  Accessible without login Plain text file 8859-5.txt Doc. Documentation
  Accessible without login Plain text file 8859-6.txt Doc. Documentation
  Accessible without login Plain text file 8859-7.txt Doc. Documentation
  Accessible without login Plain text file 8859-8.txt Doc. Documentation
  Accessible without login Plain text file 8859-9.txt Doc. Documentation
  Accessible without login Plain text file cp1250.txt Doc. Documentation
  Accessible without login Plain text file cp1251.txt Doc. Documentation
  Accessible without login Plain text file cp1252.txt Doc. Documentation
  Accessible without login Plain text file cp437.txt Doc. Documentation
  Accessible without login Plain text file cp850.txt Doc. Documentation
  Accessible without login Plain text file cp862.txt Doc. Documentation
  Accessible without login Plain text file cp864.txt Doc. Documentation
  Accessible without login Plain text file cp866.txt Doc. Documentation
  Accessible without login Plain text file Default Data Auxiliary data
  Accessible without login Plain text file Example Data Auxiliary data
  Accessible without login Plain text file fontnames Data Auxiliary data
  Accessible without login Plain text file fontnames.russian Data Auxiliary data
  Accessible without login Plain text file koi8-r.txt Doc. Documentation
  Accessible without login Plain text file koi8-u.txt Doc. Documentation
  Accessible without login Plain text file MacCyrillic.txt Doc. Documentation
  Accessible without login Plain text file MacRoman.txt Doc. Documentation
  Accessible without login Plain text file roman.txt Doc. Documentation
  Accessible without login Plain text file Unicode01 Data Auxiliary data
  Accessible without login Plain text file Unicode15 Data Auxiliary data
  Accessible without login Plain text file UTF-8.txt Doc. Documentation

  Files folder image Files  /  config  
File Role Description
Files folder imagehelpers (1 file)
  Accessible without login Plain text file IFileConfig.xml Data Auxiliary data
  Accessible without login Plain text file IFileConfig.xsd Data Auxiliary data
  Accessible without login Plain text file readme.txt Doc. Documentation

  Files folder image Files  /  config  /  helpers  
File Role Description
  Plain text file IFileXpdfConfig.php Class Class source

  Files folder image Files  /  example  
File Role Description
Files folder imagemyfiles (3 files, 1 directory)
  Accessible without login Plain text file IFile_Ex01_IndexOneFile.php Example Example script
  Accessible without login Plain text file IFile_Ex02_MultipleFile.php Example Example script
  Accessible without login Plain text file IFile_Ex03_IndexManual.php Example Example script
  Accessible without login Plain text file IFile_Ex04_CustomFields.php Example Example script
  Accessible without login Plain text file IFile_Ex05_UseIndex.php Example Example script
  Accessible without login Plain text file IFile_Ex06_SearchParser.php Example Example script
  Accessible without login Plain text file IFile_Ex07_SearchMultiTerm.php Example Example script
  Accessible without login Plain text file IFile_Ex08_SearchPhrase.php Example Example script
  Accessible without login Plain text file IFile_Ex09_SearchFuzzy.php Example Example script
  Accessible without login Plain text file IFile_Ex10_SearchBoolean.php Example Example script
  Accessible without login Plain text file IFile_Ex11_SearchWildcard.php Example Example script
  Accessible without login Plain text file IFile_Ex12_SearchRange.php Example Example script
  Accessible without login Plain text file IFile_Mysql_Ex01_IndexOneFile.php Example Example script
  Accessible without login Plain text file IFile_Mysql_Ex02_MultipleFile.php Example Example script
  Accessible without login Plain text file IFile_Mysql_Ex03_IndexManual.php Example Example script
  Accessible without login Plain text file IFile_Mysql_Ex04_CustomFields.php Example Example script
  Accessible without login Plain text file IFile_Mysql_Ex05_UseIndex.php Example Example script
  Accessible without login Plain text file IFile_Mysql_Ex06_SearchParser.php Example Example script
  Accessible without login Plain text file IFile_Mysql_Ex07_SearchMultiTerm.php Example Example script
  Accessible without login Plain text file IFile_Mysql_Ex08_SearchPhrase.php Example Example script
  Accessible without login Plain text file IFile_Mysql_Ex09_SearchFuzzy.php Example Example script
  Accessible without login Plain text file IFile_Mysql_Ex10_SearchBoolean.php Example Example script
  Accessible without login Plain text file IFile_Mysql_Ex11_SearchWildcard.php Example Example script
  Accessible without login Plain text file readme.txt Doc. Documentation

  Files folder image Files  /  example  /  myfiles  
File Role Description
Files folder imagecustomFields (1 file)
  Accessible without login Plain text file readme.txt Doc. Documentation
  Accessible without login Plain text file TestFileTXT.txt Doc. Documentation
  Accessible without login Plain text file TestFileXML.xml Data Auxiliary data

  Files folder image Files  /  example  /  myfiles  /  customFields  
File Role Description
  Accessible without login Plain text file TestAddCustomField.txt Doc. Documentation

  Files folder image Files  /  helpers  
File Role Description
  Plain text file IFileHelper.php Class Class source
  Plain text file IFileInfoFile.php Class Class source
  Plain text file IFileQuery.php Class Class source
  Plain text file IFileQueryHit.php Class Class source
  Plain text file IFileQueryRegistry.php Class Class source
  Plain text file IFile_Query_Exception.php Class Class source

  Files folder image Files  /  servercheck  
File Role Description
  Plain text file LuceneServerCheck.php Class Class source
  Plain text file ReportCheck.php Class Class source

  Files folder image Files  /  tokenfilter  
File Role Description
Files folder imagestemming (1 file, 16 directories)

  Files folder image Files  /  tokenfilter  /  stemming  
File Role Description
Files folder imagedanish (1 file)
Files folder imagedutch (1 file)
Files folder imageenglish (2 files, 1 directory)
Files folder imagefinnish (1 file)
Files folder imagefrench (1 file)
Files folder imagegerman (1 file)
Files folder imagehungarian (1 file)
Files folder imageitalian (1 file)
Files folder imagenorwegian (1 file)
Files folder imageporter (1 file)
Files folder imageportuguese (1 file)
Files folder imageromanian (1 file)
Files folder imagerussian (1 file)
Files folder imagespanish (1 file)
Files folder imageswedish (1 file)
Files folder imageturkish (1 file)
  Plain text file IFile_Stem_Exception.php Class Stem Exception

  Files folder image Files  /  tokenfilter  /  stemming  /  danish  
File Role Description
  Plain text file DanishPECLStemmer.php Class Class source

  Files folder image Files  /  tokenfilter  /  stemming  /  dutch  
File Role Description
  Plain text file DutchPECLStemmer.php Class Class source

  Files folder image Files  /  tokenfilter  /  stemming  /  english  
File Role Description
Files folder imageenglishstemmer (1 file)
  Plain text file EnglishPECLStemmer.php Class Class source
  Plain text file EnglishPorterStemmer.php Class Class source

  Files folder image Files  /  tokenfilter  /  stemming  /  english  /  englishstemmer  
File Role Description
  Plain text file PorterStemmer.php Class Class source

  Files folder image Files  /  tokenfilter  /  stemming  /  finnish  
File Role Description
  Plain text file FinnishPECLStemmer.php Class Class source

  Files folder image Files  /  tokenfilter  /  stemming  /  french  
File Role Description
  Plain text file FrenchPECLStemmer.php Class Class source

  Files folder image Files  /  tokenfilter  /  stemming  /  german  
File Role Description
  Plain text file GermanPECLStemmer.php Class Class source

  Files folder image Files  /  tokenfilter  /  stemming  /  hungarian  
File Role Description
  Plain text file HungarianPECLStemmer.php Class Class source

  Files folder image Files  /  tokenfilter  /  stemming  /  italian  
File Role Description
  Plain text file ItalianPECLStemmer.php Class Class source

  Files folder image Files  /  tokenfilter  /  stemming  /  norwegian  
File Role Description
  Plain text file NorwegianPECLStemmer.php Class Class source

  Files folder image Files  /  tokenfilter  /  stemming  /  porter  
File Role Description
  Plain text file PorterPECLStemmer.php Class Class source

  Files folder image Files  /  tokenfilter  /  stemming  /  portuguese  
File Role Description
  Plain text file PortuguesePECLStemmer.php Class Class source

  Files folder image Files  /  tokenfilter  /  stemming  /  romanian  
File Role Description
  Plain text file RomanianPECLStemmer.php Class Class source

  Files folder image Files  /  tokenfilter  /  stemming  /  russian  
File Role Description
  Plain text file RussianPECLStemmer.php Class Class source

  Files folder image Files  /  tokenfilter  /  stemming  /  spanish  
File Role Description
  Plain text file SpanishPECLStemmer.php Class Class source

  Files folder image Files  /  tokenfilter  /  stemming  /  swedish  
File Role Description
  Plain text file SwedishPECLStemmer.php Class Class source

  Files folder image Files  /  tokenfilter  /  stemming  /  turkish  
File Role Description
  Plain text file TurkishPECLStemmer.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 98%Total:416All time:5,802
 This week:4This week:415Up