Firstly, Greenstone 3 questions should go to the greenstone3 mailing list:
1. What kind of collection are you using? If you have used MGPP as the
indexer, you can do jakarta NEAR10 apache to find occurrances within 10
words of each other.
2. We have removed mysql from greenstone 3 now. Do you actually need it?
In the last release it was only used for the greenstone three demo
collection, and for the new greenstone 3 style collection building.
These have both been removed from greenstone 3 and will not be present
in the next release.
If you are not using either of these things, then I recommend you remove
mysql. Edit the build.xml file and remove configure-mysql from the
install target, then rerun ant install.
Edit the start and stop targets for they only call the tomcat targets,
not the mysql targets.
Anson Parker wrote:
> Hi all -
> 2 questions -
> 1)- how would you set up a filter to do sentence level searches - lucene
> supports this with the "jakarta apache"~10 finding every occurrences of
> jakarta and apache within 10 words of eachother. Any ideas?
> 2) I'm getting an error on my gsdl install on a windows box. I don't
> really care about setting mysql passwords for the time, so I tried turing
> off passwords initially - any reason this won't work?
> here's the error from "ant install"
> [exec] D:gsdl3packagesmysqlbinmysqladmin: connect to server at
> 'localhost' failed
> [exec] error: 'Access denied for user 'root'@'localhost' (using
> password: NO)'
> my build file is this
> ## java compilation properties - for javac
> #Should compilation include the debug option?
> #Should compilation include the deprecation option?
> #Should compilation include the optimize option?
> ## windows c++ compilation
> compile.windows.c++.setup=C:/Program Files/Microsoft Visual
> ## Tomcat installation
> #Set this to the internet/intranet name of the machine that Tomcat is/will
> be run on. localhost is fine for accessing the server from the local
> machine, but not remotely
> # The port number that tomcat is/will be run on
> # If tomcat is already running, enter the path to the base directory here
> #uncomment the following if you have moved the greenstone3 web directory
> to tomcats webapps dir
> ## Greenstone 2 collection building options
> #The path to Greenstone 2 if it is already installed
> #If you do not want to use Greenstone 2 style building at all, set this
> property to any non-empty string, e.g. xxx
> ## Relational database
> # set this to be non-empty if you are using an external mysql.
> #change the following if the defaults are not correct
> #port mysql should run on. Change if you already have mysql running on the
> default port
> #Should passwords be set for the root and greenstone mysql users?
> ## Mysql user passwords: uncomment and set the following if you don't want
> to be prompted for them during installation
> #The root password for a local mysql installation
> # The password for the gsdl3admin user (local and external mysql)
> # The password for the gsdl3reader user (local and external mysql)
> Thanks - Anson
> greenstone-users mailing list