Hi Alan, I have tried again the java thing and it does not work. I'm using the desktop version. The packages are accesible with plain createObject but not with embedded java. Here is the response. Can you try this simple code?
<cfscript language="java"> import org.apache.lucene.util.Version; import org.apache.lucene.analysis.es.SpanishAnalyzer; SpanishAnalyzer sp = new SpanishAnalyzer(Version.LUCENE_35); </cfscript> RESPONSE: cfScript language='java' Compilation Error Request /xxxx.cfm Template C:/xxx.cfm Line#-6: package org.apache.lucene.util does not exist Line#-6: package org.apache.lucene.analysis.es does not exist Line#4: cannot find symbol symbol : class SpanishAnalyzer Line#4: cannot find symbol symbol : class SpanishAnalyzer Line#4: cannot find symbol symbol : variable Version <cfscript language='java'> 1 2 import org.apache.lucene.util.*; 3 import org.apache.lucene.analysis.es.*; 4 5 SpanishAnalyzer sp = new SpanishAnalyzer(Version.LUCENE_35); 6 </cfscript> BlueDragon Time @ Server: 23:40:37.807 lunes, 26 marzo 2012 On 26 mar, 15:40, Alan Williamson <[email protected]> wrote: > as long as the jar files are in the same place as the WEB-INF/lib/ then > the imports will be fine. > > make sure though, you reference the same lucene jar files shipped with > OpenBD. If you start adding in different versions then this may cause > some problems -- online documentation: http://openbd.org/manual/ google+ hints/tips: https://plus.google.com/115990347459711259462 http://groups.google.com/group/openbd?hl=en
