PHP Classes

File: example/readme.txt

Recommend this page to a friend!
  Classes of Giampaolo Losito   IFile   example/readme.txt   Download  
File: example/readme.txt
Role: Documentation
Content type: text/plain
Description: Documentation
Class: IFile
Index and search documents using Lucene or MySQL
Author: By
Last change:
Date: 10 years ago
Size: 1,159 bytes
 

Contents

Class file image Download
/** * IFile framework * * @category IndexingFile * @package ifile.example * @author Giampaolo Losito, Antonio Di Girolomo * @copyright 2011-2013 isApp.it (www.isapp.it) * @license GNU LESSER GENERAL PUBLIC LICENSE Version 2.1, February 1999 * @version 1.2.1 * @site: http://ifile.isapp.it */ Information: ===================================================== For testing the correct use of IFile you must call the exa mple from 1 to 12 (in mysql not exist the range search for full.text). The first examples, you index the documents present in "myfiles" folder. Other examples use this index for testing the search method. Remember that if you want use MySql as Search Engine is important define in the configuration (IFileConfig.xml) 1. Define Name Table that IFile must used <table-name collation="utf8_general_ci">ifile_index_table</table-name> 2. Define the fields: name, path, filename as "Text": <zend-document> <fields> <field name="name" type="Text" /> <field name="path" type="Text" /> <field name="filename" type="Text" /> </fields> </zend-document>