OK . That is not a good solution.
In Solr, you can only have a flat document structure. Where each field
is a primitive (String, Number, Date) or a List of primitives.So, the
SolrJ API only supports these . You may really not need a Custome
type.
On Mon, Apr 6, 2009 at 11:07 AM, Praveen Kumar J
Hi Noble,
Storing fields as Strings means I have to use a POJO for this activity
right? If so I am done.
But according to your suggestion "Let the FieldType in Solr parse and create
appropriate data structure".
How am I going to do this? Am very new to Solr. So please don't mind if I
dumb questi
On Fri, Apr 3, 2009 at 11:28 AM, Praveen Kumar Jayaram
wrote:
>
>
> Thanks for the reply Noble Paul.
> In my application I will be having multiple types of object and the number
> of properties in each object will vary.
> So I have made them as FieldType and defined in schema.xml also
The POJO is
Thanks for the reply Noble Paul.
In my application I will be having multiple types of object and the number
of properties in each object will vary.
So I have made them as FieldType and defined in schema.xml also
How do I store the POJO without declaring it as a FieldType?
Solr needs to recogniz
why is the POJO extending FieldType?
it does not have to.
composite types are not supported.because Solr cannot support that.
But the field can be a List or array.
On Thu, Apr 2, 2009 at 5:00 PM, Praveen Kumar Jayaram
wrote:
>
> Could someone give suggestions for this issue?
>
>
> Praveen Kumar
Could someone give suggestions for this issue?
Praveen Kumar Jayaram wrote:
>
> Hi
>
> I am trying to have a complex POJO type in Solr 1.3
> i.e Object inside object.
>
> Below is a sample Field created,
>
> public class TestType extends FieldType{
> @Field
> private String requestor