hibernate-search

How to do SQL IN like query in hibernate search

A simulating scenario is: Search for books whose content contains "success" AND author is in a list of passed names(could be thousands of). I looked into filter: http://docs.jboss.org/hibernate/stable/search/reference/en-US/html_single/#query-filter Seams like hibernate search has no native support of this. What is recommended approa...

Hibernate search question: How to get top ranking terms?

I've already tokenized the field, so, for example, 'kw1' appears 10 times across all document, 'kw2' 20 time, and so on and so force. The table will be looking like 'kw1':10, 'kw2':20, ... I need get top N highest ranking terms. It is something like Google trend. Any idea? ...

Loader constraint violation in hibernate createFullTextQuery

I have a webapplication using Hibernate and Jpa and want to add search via hibernate-search. I use the following hibernate versions: hibernate-core-3.3.2.GA hibernate-annotations-3.4.0.GA hibernate-entitymanager-3.4.0.GA hibernate-search-3.2.1.Final And for lucene: lucene-core-2.9.3 The following code compiles perfectly fine: public Li...

whats wrong with this simple HQL syntax?

Hi i am trying to execute this simple HQL query to get a list of files from my database using: private static final String SQL_GET_FILE_LIST = "select filename, size, id, type from fileobject"; @Override public List<FileObject> getFileList(String type) { // TODO Auto-generated method stub List<FileObject> files = hbTemplate.fin...

Lucene wildcard matching fails on chemical notations(?)

Hi All, Using Hibernate Search Annotations (mostly just @Field(index = Index.TOKENIZED)) I've indexed a number of fields related to a persisted class of mine called Compound. I've setup text search over all the indexed fields, using the MultiFieldQueryParser, which has so far worked fine. Among the fields indexed and searchable is a fi...

Two Applications using the same index file with Hibernate Search

Hi, I want to know if it is possible to use the same index file for an entity in two applications. Let me be more specific: We have an online Application with a frondend for the users and an application for the backend tasks (= administrator interface). Both are running on the same JBOSS AS. Both Applications are using the same databas...

Hibernate Search + GWT + Hibernate

Hey hey :-) ps: I'm novice with hibernate search This is the morning question. I got one application running with gwt+hibernate. I need to add hibernate search in the application. I took care of this application but all the system was already in place and running. I can see on the entity level, that no @id annotation is used to defin...