![]() |
Lucene.php - Printable Version +- LetoDMS Community Forum (https://community.letodms.com) +-- Forum: LetoDMS Support (https://community.letodms.com/forumdisplay.php?fid=4) +--- Forum: Technical Support (https://community.letodms.com/forumdisplay.php?fid=10) +--- Thread: Lucene.php (/showthread.php?tid=365) |
RE: Lucene.php - caos - 10-06-2011 Finally after bashing my head on the wall a few time and cursing my mouth till it felt like the sahara desert ... installed it on my home Windows Pc running Xampp and Zendframework got the fulltext search function to work ![]() ![]() ![]() ![]() now time to get the 1and1 hosted leto to do the same ![]() RE: Lucene.php - steinm - 10-06-2011 (10-06-2011, 05:34 AM)caos Wrote: Finally after bashing my head on the wall a few time and cursing my mouth till it felt like the sahara desert ... installed it on my home Windows Pc running Xampp and Zendframework got the fulltext search function to work Concratulation. I'm glad you made it. Let me know of other pitfalls. The fulltext search is quite young. Uwe RE: Lucene.php - caos - 10-06-2011 (10-06-2011, 03:10 PM)steinm Wrote:(10-06-2011, 05:34 AM)caos Wrote: Finally after bashing my head on the wall a few time and cursing my mouth till it felt like the sahara desert ... installed it on my home Windows Pc running Xampp and Zendframework got the fulltext search function to work thanks mate... seems to be working fine on my home server for now... i try to make a really easy to follow install instructions for windows/XAMPP and ZendFramework setup. As for the 1and 1 Hosted Leto website i still can not get the fulltext to work and after speaking to tech support for nearly 1hr and 20min explaining that the zendframework is either miss configured along with the include_path and or its pointing to the wrong directory... even if i download and copy the zendframework folder contents to my hosted website root and edit a php.ini with an include_path to the zend directory ...stilll no luck ![]() ![]() just a quick question.. how detailed is the fulltextsearch function does it go through alll the pages within the document or just a few pages and how accurate is it?? RE: Lucene.php - steinm - 10-06-2011 (10-06-2011, 08:18 PM)caos Wrote: just a quick question.. how detailed is the fulltextsearch function does it go through alll the pages within the document or just a few pages and how accurate is it?? It uses pdftotext, catdoc, ssconvert and cat to extract words from the whole document. It also takes the comment and keywords from the letodms database into account. Uwe RE: Lucene.php - caos - 10-07-2011 (10-06-2011, 08:35 PM)steinm Wrote:(10-06-2011, 08:18 PM)caos Wrote: just a quick question.. how detailed is the fulltextsearch function does it go through alll the pages within the document or just a few pages and how accurate is it?? seems to create the search function fine how ever it does not seem to create a fulltext search data of the contents of a file like a pdf. i try the search function and it give no results found... looking at the Apache error log i found this /pdftotext' is not recognized as an internal or external command, operable program or batch file. and File does not exist: F:/xampp/htdocs/docs/out/jmaster as i said on my home PC its running XAMPP 1.7.7 on windowsX64 any solutions??? RE: Lucene.php - steinm - 10-07-2011 (10-07-2011, 08:05 PM)caos Wrote: seems to create the search function fine how ever it does not seem to create a fulltext search data of the contents of a file like a pdf. i try the search function and it give no results found... looking at the Apache error log i found this That is pretty obvious. You don't have pdftotext. I don't know if there is anything equivalent to it on win32. Uwe RE: Lucene.php - caos - 10-07-2011 (10-07-2011, 11:05 PM)steinm Wrote:(10-07-2011, 08:05 PM)caos Wrote: seems to create the search function fine how ever it does not seem to create a fulltext search data of the contents of a file like a pdf. i try the search function and it give no results found... looking at the Apache error log i found this So what your saying is that the fulltext search function on Letodms will not work on Windows platforms ??? RE: Lucene.php - caos - 10-11-2011 (10-07-2011, 11:53 PM)caos Wrote:(10-07-2011, 11:05 PM)steinm Wrote: [quote='caos' pid='1780' dateline='1317981927'] Ok now after sparing much of my free time i got my old ferrari 4006wlmi laptop out and installed redhat enterprise linux 6 and setup as a LAMP server and installed the zendframworke. ![]() ![]() ![]() now im when i type in zf show verison i get Quote:Zend Framework Version: 1.11.10my question may be more to do with zendframework itself but for the full text search to work properly do i have to create a zend project folder within my htmlroot folder (/var/www/html/) for example docs (/var/www/html/docs/) <and then place letodms in the 'public' folder or can i just install leto in the html root ??? as i said before this is all new stuff to me never touched programing or let alone a linux and zend ![]() ![]() thanks for the help from now Uwe ![]() RE: Lucene.php - steinm - 10-11-2011 (10-11-2011, 06:51 AM)caos Wrote: my question may be more to do with zendframework itself but for the full text search to work properly do i have to create a zend project folder within my htmlroot folder (/var/www/html/) for example docs (/var/www/html/docs/) <and then place letodms in the 'public' folder or can i just install leto in the html root ??? You don't need any zend project folder. It just has to be installed so php can find it, which is most likely the case, if you just installed it. I suppose the zendframework is somewhere under /usr/share/php which is fine. Put letodms into /var/www/html or create a subfolder. It doesn't matter. It just affects the url you have to type into your browser. I suppose if you put it into /var/www/html, then your url is http://localhost/. Now that you have a linux system, you could also install the LetoDMS_Core, LetoDMS_Lucene packages with 'pear install', if you don't mind to install them straight into /usr/share/php. It's also ok to put them into your http root for now and set the path in the configuration file of letodms. Uwe RE: Lucene.php - caos - 10-11-2011 (10-11-2011, 01:13 PM)steinm Wrote:Thanks for that(10-11-2011, 06:51 AM)caos Wrote: my question may be more to do with zendframework itself but for the full text search to work properly do i have to create a zend project folder within my htmlroot folder (/var/www/html/) for example docs (/var/www/html/docs/) <and then place letodms in the 'public' folder or can i just install leto in the html root ??? ![]() one silly question about pear install of the core and lucene modules .. how do i do that?? is there a how to and some instruction you can point me to or if its not to much trouble can you explain briefly ![]() ![]() ![]() ok ok i, might of figured it out copied the .tgz file to the server then executed the command Quote:[root@XXXXXXX html]# pear install LetoDMS_Core-3.2.0.tgz is this correct??? |