lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Samir Abdou" <>
Subject RE: Problem: "The selected method Keyword was not found"
Date Mon, 04 Dec 2006 10:16:36 GMT

The method Field.Keyword is not longer available in Lucene's last version!

Which version are you using?


-----Message d'origine-----
De : Aaron Shaw [] 
Envoyé : lundi, 4. décembre 2006 11:08
À :
Objet : Problem: "The selected method Keyword was not found"


I'm attempting to use Lucene under Coldfusion MX, however when I try to
create and index I am coming up against the following error message when I
try to add a document:

The selected method Keyword was not found.

I'm using the following lines of code to try to create the index:

analyzer = CreateObject("java","org.apache.lucene.analysis.StopAnalyzer"); 
writer = CreateObject("java","org.apache.lucene.index.IndexWriter");
writer.init("c:\cfusionmx\wwwroot\lucene\docsindex",analyzer, true); 
document = CreateObject("java", "org.apache.lucene.document.Document");
field = CreateObject("java", "org.apache.lucene.document.Field");
system = CreateObject("java", "java.lang.System"); 
content = theContent; 
startTitle = FindNoCase("", content);
if (endTitle GT 0) {
     title = trim(Mid(content, startTitle + 7, endTitle - startTitle - 7));

However if I dump the "field" object, I would expect to see the Keyword
method or property displayed, however this is not the case.

If anyone can shed any light on this it would be very much appreciated.


View this message in context:
Sent from the Lucene - Java Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message