Hi all,
I want to take into account the absolute position of the term for the
score calculation.
I found many threads that deal with this issue, and the answer is often:
"use SpanFirstQuery".
The problem with this approach is that it is too "boolean" for me (the
document matches the spanfirstq
What's the best way to index binary data in Lucene? I'm adding a Lucene
index to a key value store, and I want to be able to delete documents based
on a binary key.
As far as I can tell the Lucene API does not support indexing binary data,
and I was looking into Base64 encoding the key. Is there a
StringField now also takes a BytesRef value to index, so you can index
a single binary token that way. Does that work?
Mike McCandless
http://blog.mikemccandless.com
On Mon, Aug 31, 2015 at 12:19 PM, Dan Smith wrote:
> What's the best way to index binary data in Lucene? I'm adding a Lucene
>
Aha! My version of Lucene was out of date. That should work perfectly.
Thanks,
-Dan
Original message
From: Michael McCandless
Date:08/31/2015 12:57 PM (GMT-08:00)
To: Lucene Users , dsm...@pivotal.io
Cc:
Subject: Re: Indexing a binary field
StringField now also takes
Hey! :)
It seems IndexWriter is not closing the descriptors of the removed files,
see the log below.
Thanks,
Napoli
[root@server01 log]# ls -l /proc/59491/fd | grep index
l-wx--. 1 wildfly wildfly 64 Ago 31 11:26 429 ->
/usr/local/wildfly-2.0/standalone/data/index/cidadao/write.lock
lr-x---
Are you sure you are not holding open readers somewhere?
On Mon, Aug 31, 2015 at 7:46 PM, Marcio Napoli
wrote:
> Hey! :)
>
> It seems IndexWriter is not closing the descriptors of the removed files,
> see the log below.
>
> Thanks,
> Napoli
>
> [root@server01 log]# ls -l /proc/59491/fd | grep i