Way hey! Sorted it.
Once I RTFM'ed, I saw where I was going wrong:
And from the Java docs for field:
Throws:
IllegalArgumentException - in any of the following situations:
* the field is neither stored nor indexed
So, yeah... that'd be why I got the error. Once I changed the
[sorry didn't see your follow-up Grant, was busy writing mine]
Cheers.
--
Adam
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To un
Cheers all.
Just some notes:
1) Andrew, I think you have misread what I asked. Yes, I pointed you
@ some constructors. What you were supposed to be noting was that
those constructors require arguments of type Field.Index, Field.Store,
Field.TermVector, which are inner classes. Make sense now?
yeah, sorry Adam my example earlier should have been a $ not : between
the classes.
On Apr 26, 8:15 pm, MrBuzzy <[EMAIL PROTECTED]> wrote:
> Howdy,
>
> There's an old article here on inner
> classes;http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_19580
>
> Also I have seen syntax
Howdy,
There's an old article here on inner classes;
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_19580
Also I have seen syntax something like this, but I haven't ever tried it;
Also, if you're interested I can provide you with a java wrapper class to
create Lucene Fields as I'v
You do it the same way you do in Java
I pretty sure you'll still have some problems though as CF won't
recognise the static value of the Field. My experience is that with
Lucene 2 you need to write a complete java wrapper and not try and do
it all in CF.
Grant
On Apr 26, 5:34 am, "Andrew S
Hmmm,
Actually a good point, but as they are not inner classes and are
constructors / methods have you tried
myClass.Field(arg1);
myClass.Field(arg1,arg2);
??
On 4/26/07, Adam Cameron <[EMAIL PROTECTED]> wrote:
>
>
> G'day
> How does one - in CF - refer to an inner class (ClassFoo.Bar) of a
>