Hello,
I am a bit confused by the two.
Is there a fundamental difference between
PhraseQuery query = new PhraseQuery();
query.add(term1, 0);
query.add(term2, 0);
and
MultiPhraseQuery query = new MultiPhraseQuery();
query.add( new Term[] { term1, term2 } );
The only different I could think of i
Have you looked at the Hibernate Search declarative filter feature which
is some bells and whistles on top of the Lucene filter feature.
Typically you would keep the credential levels in the document and
filter by the user's credential.
On Wed, 2009-07-01 at 07:55 -0400, Bryan Doherty wrote:
> C
You probably should ask your question on the Hibernate forum as well.
You will more likely find actual Hibernate Search users there :)
http://forum.hibernate.org/viewforum.php?f=9
--
Emmanuel Bernard
http://in.relation.to/Bloggers/Emmanuel | http://blog.emmanuelbernard.com
| http
0 threads) there
could be contention around those methods.
Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch
- Original Message ----
From: Emmanuel Bernard
To: java-user@lucene.apache.org
Sent: Friday, May 23, 2008 6:41:36 PM
Subject: Re: Improving search performance
Hi
Hiber
e that
checks whether a doc is deleted, that get called during search. If
you have a pile of threads (op. p. mentioned 100 threads) there
could be contention around those methods.
Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch
- Original Message
From: Emmanuel B
Hi
Hibernate Search does not pool the Searcher but pools the underlying
IndexReader(s). From what i've seen, a Searcher is stateless and all
the state is kept in the Readers. so this essentially is equivalent to
reusing the searcher.
Out of curiosity why is a pool of Searcher more efficien
Hi Stephane
Can you tell me a bit more about the deadlocks you experience with
Hibernate Search. I have not seen such a situation so far and am
interested to see how to fix the problem.
Emmanuel
On May 12, 2008, at 06:13, Stephane Nicoll wrote:
Hibernate Search introduces deadlock with m
Not sure if it's too late for you. But here are my comments if you
want to stick with Hibernate and Hibernate Search
Generally speaking, once you have the query to retrieve the data per
id, you can map this query to an entity in Hibernate using either:
- @Formula for simple cases
- @Loader
eries, ability to do correlated
queries between 2 or more "associated" entities/documents), but that
should be good enough to give you an idea of that I think.
On Jun 29, 2007, at 08:48, karl wettin wrote:
28 jun 2007 kl. 15.37 skrev Emmanuel Bernard:
I don't really like the ide
Hibernate Search (formerly known as Hibernate Lucene) is not designed
to use Lucene as the primary and only backend. It is designed to
complement a database.
I don't really like the idea actually: I'm much comfortable with
having my data in a relational DB :)
So this product will not help f
The indexation part of Hibernate Search relies on Java Persistence
API to triggers the index update transparently. Otherwise you can
trigger it manually to follow the crawling approach (not transparent).
Event driven vs crawling driven index update have both use cases, I
would not say that on
ways updating.
Is there any way to solve this in Hibernate Search?
Richie
2006/11/19, Emmanuel Bernard <[EMAIL PROTECTED]>:
>
> I forgot a couple of things.
> I do not think that all your object properties belongs to the Index, and
> some of them will be put in the index wit
x27;s my opinions, and some people can disagree ;-)
Emmanuel Bernard wrote:
Hi,
I am not really familiar with Compass I haven't really looked at the
code, Hibernate Lucene (now renamed Hibernate Search) started from a
user demand. I had some in depth discussions though, with some users
that
www.mail-archive.com/hibernate-dev%40lists.jboss.org/msg00393.html
HTH
Emmanuel
Lukas Vlcek wrote:
Emanuael,
I would be glad to hear your answer here (on user list).
Regards,
Lukas
-- Forwarded message ------
From: Emmanuel Bernard <[EMAIL PROTECTED]>
Date: Nov 13, 2006 11
I had a quick look at SOLR and DBSight. They seem to achieve a different
goal than Hibernate Lucene.
The formers belong to the project box category: you set up a server that
will handle the search for you. The application will then delegate the
work to those servers.
The latter belongs to the fr
Hi,
What exactly are your concerned about the "non-detached" approach (see
below)?
Chris Lu wrote:
I would prefer a detached approach instead of Hibernate or EJB's
approach, which is kind of too tightly coupled with any system. How to
it is probably going to be couple with yours ;-)
rebuild
Hi
No, he is talking about
http://www.hibernate.org/hib_docs/annotations/reference/en/html/lucene.html
Also note that I'm about to release a new version much more flexible
http://www.mail-archive.com/hibernate-dev%40lists.jboss.org/msg00392.html
and for the future (but flexible)
http://www.mail-a
saving mess.
Michael J. Prichard wrote:
Dang it :)
Anyway to set timezone?
Emmanuel Bernard wrote:
DateTools use GMT as a timezone
Tue Aug 01 21:15:45 EDT 2006
Wed Aug 02 02:15:45 EDT 2006
Michael J. Prichard wrote:
When I run this java code:
Long dates = new Long
DateTools use GMT as a timezone
Tue Aug 01 21:15:45 EDT 2006
Wed Aug 02 02:15:45 EDT 2006
Michael J. Prichard wrote:
When I run this java code:
Long dates = new Long("1154481345000");
Date dada = new Date(dates.longValue());
System.out.println(dada.toString());
System.out
19 matches
Mail list logo