Koozali.org: home of the SME Server

Contribs.org Forums => General Discussion => Topic started by: Jáder on October 10, 2010, 08:37:52 PM

Title: swish-e - OpenDocuments
Post by: Jáder on October 10, 2010, 08:37:52 PM
I follow http://wiki.contribs.org/Swish-e

got everything fine but would like to:
1) be able to index OpenDocuments format  documents (odt,ods,...)
2) have a cron to auto-generate index every day (I know how to create, would like to tips about how this is handled by swish-e
3) know how this impact CPU usage during indexing and tips about minimize (something like to check if document is updated before reindex it!)
4) know where should I keep/generate the indexes (on /usr/libexec/swish-e dir or on Primary/cgi-bin for use on web interface.
5) How use clickable links for other than ibay documents.

Thanks by any help on this.


Title: Re: swish-e - OpenDocuments
Post by: Jáder on October 14, 2010, 01:32:00 PM
I think I put this on wrong forum, could some moderator please move it to Contribs ?

I follow http://wiki.contribs.org/Swish-e

got everything fine but would like to:
(...)
3) know how this impact CPU usage during indexing and tips about minimize (something like to check if document is updated before reindex it!)

4) know where should I keep/generate the indexes (on /usr/libexec/swish-e dir or on Primary/cgi-bin for use on web interface.




I already have answers to these two questions:
** to #3)
 Swish-e has a incremental option... so it just reindex files if they're newer than has done before.
Unfortunatelly, the RPM generated has no this option compiled... I was able to find out this page:  http://www.osterman.com/wordpress/2007/06/01/swish-e-rpm-howto (http://www.osterman.com/wordpress/2007/06/01/swish-e-rpm-howto)
and have generated my own updated version of rpm with --enable-incremental.

You can find my new generated rpms at: www.linuxfacil.net/publico/Swish-e/

** to #4)
you should generate your indexes from directory where you put your cgi... on this case your main site.

Title: Re: swish-e - Doubts/problems
Post by: Jáder on November 06, 2010, 01:18:16 PM
I just like to let anyone to know: even with my new compiled latest swish-e version, with requiered parameter on make, I was unable to ddo incremental to work.
Need more help on this.