Hi Juan Pablo,

On 17/03/13 02:53 AM, Juan Pablo Santos Rodríguez wrote:
could you try switching the StandardAnalyzer to
org.apache.lucene.analysis.standard.ClassicAnalyzer? from the javadocs
"ClassicAnalyzer was named StandardAnalyzer in Lucene versions prior to
3.1. As of 3.1,
StandardAnalyzer<http://lucene.apache.org/core/3_6_0/api/core/org/apache/lucene/analysis/standard/StandardAnalyzer.html>implements
Unicode text segmentation, as specified by UAX#29" so maybe that
could explain the search differences between versions
I've stopped the GlassFish domain, deleted the Lucene caches, made this change in the jspwiki.properties file and started the domain up again, and there is no change in behaviour. I still only get three or so quick search results, vs ~20 for the same search query on JSPWiki 2.8.3.

I'm unable to look at this right now, but I'll try to do it next week

That would be great. If I stumble across anything further until then I'll be sure to let you know.

Cheers,
Dave

--
Dave Koelmeyer
http://blog.davekoelmeyer.co.nz




On Sat, Mar 16, 2013 at 1:49 PM, Dave Koelmeyer <
[email protected]> wrote:

On 16/03/13 12:47 AM, Dave Koelmeyer wrote:

On 13/03/13 08:56 AM, Juan Pablo Santos Rodríguez wrote:

Lucene was updated from 2.0.0 to 3.6.0 in 2.9.0-svn-3 (
https://issues.apache.org/**jira/browse/JSPWIKI-729<https://issues.apache.org/jira/browse/JSPWIKI-729>),
and the code rewritten
to use the new API, but essentially it has the same behaviour as before,
it
passes the same unit tests. Could you please set the logger level to
debug
to see if something pops out from the log file?

I'm assuming you're using the LuceneSearchProvider in your
jspwiki.properties and the StandardAnalyzer (these are the default
values)


Thanks for the reply, I will do that and post any relevant output
shortly. Just for information I have created a second GlassFish domain
using the same host OS, GlassFish and Java versions, but using JSPWiki
2.8.3. Pointing JSPWiki 2.8.3 to a copy of the same content repository used
with JSPWiki 2.9.0 and performing a search I get the expected number of
quick search results. Contrary to what I said in my original post on this
topic I may well have first observed the behaviour after upgrading to 2.9.0.


Hi All,

Well I've enabled debug output (according to http://doc.jspwiki.org/2.4/**
wiki/JSPWiki.properties#**section-JSPWiki.properties-**
TurningOnFullDEBUGMode<http://doc.jspwiki.org/2.4/wiki/JSPWiki.properties#section-JSPWiki.properties-TurningOnFullDEBUGMode>)
 and I can't see anything error-wise in either the GlassFish or JSPWiki
log files, certainly not anything related to search or Lucene. I've got all
Lucene and search values at defaults in jspwiki.properties too, to answer
your question.

Any other pointers to things to check for? And has anyone else perhaps
done an A/B test between JSPWiki 2.9.0 and earlier versions?





Reply via email to