Hi Bill,
Yes, reusing analyzers across different indexes is safe.
Tokenizers (and some token filters and char filters) are stateful, but
state caching is performed in a ThreadLocal so no state is shared
between threads.
On Fri, Jan 25, 2019 at 1:04 AM Bill Gray wrote:
>
> Hi,
>
> I'm working on
Hi,
I'm working on an app that will use Lucene and I'm trying to get a handle
of the thread safety of Analyzers.
The specific question I'm exploring is whether it is safe to use a single
instance of an Analyzer across different Indexes (and therefore concurrent
IndexWriters) in the case where two
Hi,
"one two three four five six"
We are unable to match the above text using the query (small reproducer at the
bottom):
spanNear([spanNear([f:one, spanOr([f:two, f:three])], 1, true), f:five], 1,
true)
The human readable form is "one W~1 (two OR three) W~1 five", which reads like
("one
You are probably not creating a query correctly. Are you creating a
query with IntPoint#newExactQuery?
On Wed, Jan 23, 2019 at 3:52 PM Ayuketah David Tabi
wrote:
>
>
>
> Greetings.
> I am using Lucene 7.6.
> To do indexing i am using StandardAnalyzer()
> and to index a numeric field this is what