index « Search « JPA Q&A





1. How to remove old Hibernate Search index    stackoverflow.com

I use Hibernate search for full text search in my web application. I have button for index creation in admin panel. I do it by this code:

     ...

2. Hibernate search storing byte[] in index    stackoverflow.com

I have following config in my POJO:

@Field(index = Index.NO, store = Store.YES)
private byte[] file;
When I start my Apps container I get following exception:
Caused by: org.hibernate.search.SearchException: Unable to guess FieldBridge ...

3. hibernate search indexing not working    coderanch.com

Hi, I m trying to integrate hibernate search in my existing application. According to the tutorial of hibernate search i have added following properties in hibernate properties in applicationContext.xml org.hibernate.search.store.FSDirectoryProvider ./lucene/indexes Also i have added the annotation on the entity classes for which i want to enable search. Using @Indexed on class and @Field on the fields. Now when ...

4. Hibernate-Search not creating index    coderanch.com

I am trying to create a index file with hibernate search and I cannot even get it to create an index file. I am running JBoss 4.2.3.GA (which I think has hibernate 3.2.4.sp1) So I got Hibernate-Search 3.0.1.GA and used annotations. I am running jboss4.2.3.GA and I am having problems getting hibernate search to work. Looking at the compatibility matrix I ...

5. Hibernate search - indexes not being generated    coderanch.com

Hi, I have integrated hibernate serach into an existing spring and hibernate web application. I have added following 2 in the persistence.xml files: My eo class looks like below: @Entity @Table(name="test") @Indexed @AnalyzerDef(name = "customanalyzer", tokenizer = @TokenizerDef(factory = StandardTokenizerFactory.class), filters = { @TokenFilterDef(factory = LowerCaseFilterFactory.class), @TokenFilterDef(factory = SnowballPorterFilterFactory.class, params = { @Parameter(name ...

6. Share hibernate search index between two WAR apps    forum.hibernate.org

Hi, I need your help. I have two WAR applications with Seam 2.1.2 on Jboss 5.1. The both apps are using the same database (Mysql) and hibernate search on same table, so they also have same indexed entity, but since every app is packaged in war, for every entity is created a separated lucen index folder. app1.domain.entity.XEntity app2.domain.entity.XEntity How can I ...

7. Use of non-compound index possible with Hibernate Search?    forum.hibernate.org

Hello! I'm using Hibernate 3.2, and Hibernate annotations 3.2.1. I've got an integration of the OpenSymphony group's JdbcDirectory with Hibernate Search in place and I am interested in finding out if there is a convenient way to use a non-compounding index writer? The folks over at OpenSymphony have told me that this will improve performance of JdbcDirectory so I'd like to ...

8. trouble with Hibernate Search indexes    forum.hibernate.org

Hi, everybody. I have a problem with HibernateSearch indexes creation, when i save a new entity through hibernate. Here is my class (simplified): Code: @Entity @Indexed public class Discussion { @Id @GeneratedValue @DocumentId private Long id; @Column(columnDefinition = "varchar2(255)") ...

9. How to recreate search index?    forum.hibernate.org

Hi, How can I force Hibernate Searche to drop index and recreate it from fresh data? I have situation that I use create in hibernate.hbm2ddl.auto, but the index is not droped (stay old), so I have several copies of old data? my config for search in Spring considers only: org.hibernate.search.store.FSDirectoryProvider ${indexBase} Can you help me? Adr





10. Problem getting Search to index    forum.hibernate.org

Hi all, I'm trying to get Hibernate Search to work for my webapp in Spring (Hibernate 3.2.5 with Search 3.0.0 GA) but only had it to work in tests where I manually index my objects. In my webapp my objects are not added to the index even though I registered these listeners (I'm not using annotations for Hibernate mapping): Code: ...