-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: [Hibernate Search] Access to indexed fields (names) of Class
PostPosted: Mon Jun 11, 2007 4:40 am 
Newbie

Joined: Wed Jun 06, 2007 9:30 am
Posts: 1
Hello,

is it possible to get a list of all indexed field names of class? I think the key is in DocumentBuilder class, but because it is rarely documented by now I can't see find it out.
Code:
@Indexed
class A
{
    @Field(...)
    private String name=null;
   
    @IndexedEmbedded
    private List<B> list=null;

// more
}
class B
{
    @ContainedIn
    private A=null;

    @Field(..)
    private String n2=null
}


I need a list of all queryable fields of A (name,list.n2...).
Is this possible?

Thanks in advance


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 11, 2007 7:28 pm 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
This is not possible today the data is not exposed.
open a JIRA issue with your use case description.

_________________
Emmanuel


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.