Download .zip |
Info | View files (18) | Download .zip | Reputation | Support forum (1) | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2006-10-17 (12 years ago) | 69% | Total: 2,641 | All time: 1,433 This week: 506 |
Version | License | Categories | ||||
guaranix 1.0.0 | GNU General Publi... | Databases, Searching, Text processing |
Description | Author | |||
This package can be used to index texts for full text searching. Innovation Award
|
"The PHPGnix is beta project this is not for production!" The PHPGnix is a Class that will allow you to index texts(Full text search) without carry about database handler. PHPGnix goal is to do an Simple and Fast Search System. For index something you just need to do this: include "gnix.php"; $gnix = new Gnix(array("db" => "phpgnix", "host" => "localhost", "user" => "root", "pass" => ""),MYSQL); $gnix->install(); /* Install it just for the first time */ $texto['title 1'] = "This is a text for index"; $texto['title 2'] = "This is a text number 2 for index"; $gnix->Index($texto); The actual databases supported is MYSQL and SQLITE (please contribute for others databases like postgresql). To search you have to do something like this: include "gnix.php"; $gnix = new Gnix(array("db" => "phpgnix", "host" => "localhost", "user" => "root", "pass" => ""),MYSQL); $query = new Gnix($connstring,MYSQL); $salida = $query->search('"web search" google OR altavista NOT msn'); The edit is not supported yet! But it will be soon This has a slow performance for queries that has OR and I dont know why. All the words that is bettween " " is phrase. Please people contribute to this project a better one!. There is too much that is missing Like NEAR command, a better ranking algorithm, the stopwords list, the stemming for another langs (http://snowball.tartarus.org/index.php), and too much. Please Contribute to saddorNOTSPAM (AT) gmail (dot) com [remove the NOTSPAM]. Thanks. When this project is optimize with your help! I will translate this project to C. Thanks one more time to all. |
Files |
File | Role | Description | ||
---|---|---|---|---|
libtextcat (7 files) | ||||
stemmer (2 files) | ||||
db.mysql | Data | Mysql Install File | ||
db.sqlite | Data | SQLite install file | ||
gnix.php | Class | The main class of this project | ||
mysql.php | Class | MySQL handler | ||
phpIndexer.php | Example | Test of indexing file | ||
README | Doc. | Readme! this is important | ||
search.php | Example | The search test | ||
sqlite.php | Class | SQLite handler | ||
tokenizer.php | Class | The Search Query Tokenizer |
Files | / | libtextcat |
File | Role | Description |
---|---|---|
english.lm | Data | english |
french.lm | Data | French |
german.lm | Data | German |
italian.lm | Data | Italian |
saddorlibtextcat.php | Class | The LibTextCat |
spanish.lm | Data | Spanish |
test.php | Example | The test file ot libtextcat |
Files | / | stemmer |
File | Role | Description |
---|---|---|
english.php | Class | English Stemmer |
spanish.php | Class | Spanish Stemmer |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
0% |
|
|
User Ratings | ||||||||||||||||||||||||||||||
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.