HibernateSearch DocumentBuilder questions
by Mario Ivankovits
Hi!
Is [1] the actual version of the DocumentBuilder?
If so, I think we miss something like a "converter" on fields. As far as
I remember to allow "range queries" (from, to value) you have to create
a special string which allows this for numeric values and dates.
You have to ensure ordering for numerics even with "string comparision",
means, you have to convert e.g.
17 to 000017 and
1112 to 001112
so that you can execute a range query on them. Similar for dates.
You can create those strings for numerics automatically if the user
provides a e.g @Min, @Max annotation, still, having a
@SearchableConverter where you can define a converter would be great.
For sure, you have to take core of the used strategy when building the
query too.
Ciao,
Mario
[1]
http://fisheye.labs.jboss.com/browse/Hibernate/branches/Lucene_Integratio...
18 years, 1 month
Hibernate search(lucene) update question & opinion.
by Jin Yiqing
Hi,
I found the cool new feature of hibernate search in Lucene-user mail list by
Emmanuel's mail.
u guys did a very greate job! Since i am now working on a system that using
lucene to implement a search engine, i would like to know some more
details about Hinbernate Search.
I have read some of the code in Hinbernate 3.2GA release, the code is
pretty cool, but there is one thing i doubt:
For the update operation Hibernate Search used remove & update.which refer
to Lucene's deleteDocuments method. This will works fine when the operation
does not have high frequency and the index is new.
But as i know the remove operation in lucene only marked a tag for the
deleted document without actually delete the data ofr index files. We know
in some systems the data would be updated in a very high frequency(eg. an
traffic status query system), then it will not take a long time that the
index will be filled with lots of expired document data, even if the data
update is not as fast as a traffic status, i think this problem is still
very critical since things we stored in databases are always updating.
Is there any way to solve this in Hibernate Search?
thanks,
Richie
18 years, 1 month
Hibernate Tools How to Install Plugin?
by Arthur Orange
Ok the page
http://www.hibernate.org/hib_docs/tools/reference/en/html/setup.html
lists such scant docs on how to install hibernate tools that its worthless
really.
I went to tools.hibernate.org and that didn't work either.
Read up myriad of docs and had to traverse back to Eclipse tutorials on how
to install a plugin which is supposed to make development easier.
This has taken all morning :"How to install Hibernate Tools" and I notice I
am not the only one apparently people all the way in Australia are bitten by
the odd desire to make their life easier but often find that it just gets
more difficult (just the installation! for a tool that is supposed to be
"interoperable")
I am using IBM Rational Application Developer 6 with 5000 "fixes" running on
a windows platform. Its based on eclipse so I am hoping that it will work.
A
18 years, 1 month