filter « Search « JPA Q&A





1. How to do SQL IN like query in hibernate search    stackoverflow.com

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 ...

2. Hibernate filter not working while indexing through hibernate search    stackoverflow.com

I am trying to index an embedded collection (Set) having one-to-many association using @IndexedEmbedded.The problem is that we are only soft deleting the records in our application and I want to ...

3. Hibernate Search Filter not working with Tokenized field    stackoverflow.com

I am using Hibernate search 3.3 to search a Lucene index. I have a filter I need to use on a certain field, but also make it TOKENIZED for full text ...

4. Search Filter Returns No Results    forum.hibernate.org

Newbie Joined: Mon Oct 19, 2009 5:44 pm Posts: 6 I have a pretty basic search filter that should filter out any results where that flag is false or '0'. I am using an example from Hibernate Search In Action. After the filter executes I don't get any results at all back. It seems that everything is written right so I'm ...

5. Hibernate Search Filter with Tokenized field    forum.hibernate.org

@Factory public Filter getFilter() { BooleanQuery query = new BooleanQuery(); Term orgTerm = new Term("owningOrganization", userOrganization); Term activeTerm = new Term("currentStateIsActive", "1"); query.add(new TermQuery(orgTerm), Occur.SHOULD); query.add(new TermQuery(activeTerm), Occur.SHOULD); return new CachingWrapperFilter(new QueryWrapperFilter(query)); }