Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6558935
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T13:15:39+00:00 2026-05-25T13:15:39+00:00

I want to implement lucene based hibernate search in my assignment. For generating domain

  • 0

I want to implement lucene based hibernate search in my assignment. For generating domain objects I am using HyperJaxb3.

I want @Indexed annotation to be added during domain object creation using HyperJaxb.

I tried googling for this, but unable to find solutions.

Any pointer in this regard will be of great help.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T13:15:39+00:00Added an answer on May 25, 2026 at 1:15 pm

    [Annotate plugin][1] is the right answer. See [this example][2].

    This is how it looks in schema:

      ....
      xmlns:hs="http://annox.dev.java.net/org.hibernate.search.annotations"
      ...
    
      <xsd:complexType name="USAddress">
        <xsd:sequence>
          <xsd:element name="name" type="xsd:string">
            <xsd:annotation>
              <xsd:appinfo>
                <annox:annotate>
                  <hs:FieldBridge impl="org.jvnet.hyperjaxb3.ejb.tests.annox.Items">
                    <params>
                      <hs:Parameter name="foo" value="bar"/>
                    </params>
                  </hs:FieldBridge>
                </annox:annotate>
              </xsd:appinfo>
            </xsd:annotation>
          </xsd:element>
          <xsd:element name="street" type="xsd:string"/>
          <xsd:element name="city" type="xsd:string"/>
          <xsd:element name="state" type="xsd:string"/>
          <xsd:element name="zip" type="xsd:decimal"/>
        </xsd:sequence>
        <xsd:attribute name="country" type="xsd:NMTOKEN" fixed="US"/>
      </xsd:complexType>
    

    You can also use extra binding files (see the [example][2]).

    [1]: BAD LINK
    [2]: https://svn.java.net/svn/hj3~svn/trunk/ejb/tests/annox/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am going to implement Lucene search into my project and I want to
I want to implement search functionality for a website (assume it is similar to
I want to implement an ISAPI filter like feature using HttpModule in IIS7 running
i want to implement a small search engine , i have index page where
I want to implement a search that will rank results higher, if previous, similar
We use Lucene.NET to implement a full text search on a clients website. The
I want to implement awesomebar like search functionality in my java application. I like
I have WSDL and XSD files and want implement a webservice based on this
I want to implement SQLite database for iPhone using PhoneGap. I know some basics
I want to implement file upload in RESTful way using openrasta but not able

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.