[daisy] Re: Error when using the fulltext search (Daisy 2.0)

Bruno Dumon bruno at outerthought.org
Fri Oct 6 05:57:50 CDT 2006


On Fri, 2006-10-06 at 10:27 +0200, Andreas Deininger wrote:
> 2006/10/5, Bruno Dumon <bruno at outerthought.org>:
> > On Thu, 2006-10-05 at 19:55 +0200, Andreas Deininger wrote:
> > > 2006/10/5, Andreas Deininger <adeininger at googlemail.com>:
> > > > I've set up a Daisy 2.0 instance and try to use the fulltext search on
> > > > that instance. As long as I perform the search in the current site's
> > > > collection, everything is fine. However, as soon as I extend the scope
> > > > to "All documents", I'm getting errors like the one given below: E.g:
> > > >
> > > > URL: http://www.my-domain.tld/mysite/search?forms_submit_id=&offset=1&query=courses&limit=10&scope=allDocuments&searchName=true&searchContent=true&searchFields=true&branchId=1&languageId=2
> > > >
> > > > Note that the document 3681 exists in branch 1 and language 2.
> > > >
> > > > Any idea what's wrong here?
> > >
> > > I found the answer myself: I didn't refresh the fulltext index after upgrad
> > > I'm still in trouble though, since I can't log on to the JMX console
> > > on port 9264 in order to refresh the index since no connection can be
> > > established on that port.
> > > However, I can log in to the JMX console with a new installation on
> > > windows. I compared the config files between these two installations,
> > > however, I can find any difference that might be the reason for the
> > > refusal of the connection.
> > >
> > > My acticemq-conf.xml starts with:
> > >
> > > <beans xmlns="http://activemq.org/config/1.0">
> > >   <broker brokerName="DaisyJMS" useJmx="true" useShutdownHook="false">
> > >
> > > Is there anything else needed? Or any other idea what might be wrong here?
> >
> > IIRC, you can only connect to the JMX console from localhost. Maybe
> > that's the problem?
> 
> Bingo! However, I'm still having difficulties to recreate the
> currently non existing index-files, and the instructions in the
> upgrade installations are a bit terse/non existing.
> I can reindex a single document successfully (select id where
> id='xxx-NS'), however there are still no files in the indexstore dir.
> If I start invoke 'reIndexAllDocuments' (with 1300 docs), the process
> loops for hours. How long is that process supposed to take? Probably
> you have to use the FullTextIndexer (IndexExists: false) prior to the
> FullTextIndexUpdater, but I don't know how.

After invoking the reIndexAllDocuments operation, do you get the
confirmation page ("Invocation successful") or does the browser keep
waiting for a response?

-- 
Bruno Dumon                             http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
bruno at outerthought.org                          bruno at apache.org



More information about the daisy mailing list