RE: Question about Data Types

2008-09-05 Thread Kashyap, Raghu
-user@lucene.apache.org Subject: Re: Question about Data Types : I have a use case where I need to define my own datatype (Money). : Will something like this work? Are there any issues with this approach? : Assuming you have implemented a Java class named "Money" in the package &qu

Re: Question about Data Types

2008-09-04 Thread Chris Hostetter
: I have a use case where I need to define my own datatype (Money). : Will something like this work? Are there any issues with this approach? : Assuming you have implemented a Java class named "Money" in the package "xyz" and you are subclassing the FieldType class -- then yes. you can imp

Question about Data Types

2008-09-04 Thread Kashyap, Raghu
Hi, I have a use case where I need to define my own datatype (Money). Will something like this work? Are there any issues with this approach? Schema.xml Thanks, Raghu Ps: We are using the trunk version of solr