Felipe,
in Lucene in Action there's a little bit on that.
Basically it's just about using the right analyzer.
paul
Le 8 nov. 2011 à 01:45, Felipe Carvalho a écrit :
> Hello,
> I'm using Lucene 3.2 on a phone book app and phonetic search is a
> requirement. I've googled up "lucene phonetic sea
Hello,
I'm using Lucene 3.2 on a phone book app and phonetic search is a
requirement. I've googled up "lucene phonetic search" but could not find
many references. I did find this article, but I'm not sure about how
updated it is: http://tech.javayogi.com/hello-world-lucene.html
I couldn't find
On 07/11/2011 17:45, Michael McCandless wrote:
How did you open the first IndexReader (is this an NRT reader or a
"normal" (via IndexReader.open) reader?)?
Hi, its a normal index reader , I create an Index searcher from a directory
IndexSearcher indexSearcher = new IndexSearcher(directory);
an
This is caused by lower-precision terms used by NumericField to allow fast
NumericRangeQuery. You have to filter those values by looking at the first few
bits, which contains the precision.
-
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: u...@thetaphi.de
hm - I recognized that when I iterate with TermEnum and decode the
value with prefixCodedToInt (..), I get correct values, but I also get
values that are not Field values of this field in the entire index.
E.g. I get in the number-encoded field with the timestams also a '0'
as term - but all docume
How did you open the first IndexReader (is this an NRT reader or a
"normal" (via IndexReader.open) reader?)?
Also, be careful with threads: I think your code isn't thread-safe
because one thread can finish getIndexSearcher() but not yet incRef'd
the reader, when another thread closes that reader.
I build indexes from scratch every three hours in a seperate process,
then when they are built I replace the old indexes with these new ones
in my search server.
Then I tell the search to reload the indexes as follows:
public void reloadIndex() throws CorruptIndexException, IOException {