In 3.6.2, I notice MultiFieldAttribute is deprecated. So I looked to
the docs to find the replacement:
https://lucene.apache.org/core/3_6_2/api/contrib-queryparser/org/apache/lucene/queryParser/standard/config/MultiFieldAttribute.html
...and the Deprecated note doesn't say what we're supposed to
Just create your own Codec, or override the default one's
getPostingsFormatForField, to return FSTPostingFormat.
Then set that Codec on the IndexWriterConfig you pass to IndexWriter.
Mike McCandless
http://blog.mikemccandless.com
On Wed, Jan 22, 2014 at 10:54 AM, Marcio Napoli wrote:
> Thanks
We're trying to convert an application from Lucene 3.6 to the current release.
We used to be able to pass the result of the static method below as the
FieldComparator in a SortField constructor. This code doesn't compile with the
latest release, but in converting it, we've been unable to get the
Thanks Mike!
But, how can i configure IndexWriter (4.6) to use theses codecs?
Thanks
Marcio
2014/1/22 Michael McCandless
> Hi,
>
> That was committed to trunk only (5.0) so fat, and is available under
> the "codecs" module, under org.apache.lucene.codecs.memory.*
>
> Mike McCandless
>
> http:
All the source code for the nightly Lucene perf tests I run (
http://people.apache.org/~mikemccand/lucenebench/ ) are here:
https://code.google.com/a/apache-extras.org/p/luceneutil/
These are also the scripts I use for A/B performance tests for a new patch.
It's somewhat tricky getting those Pyth
Hi,
That was committed to trunk only (5.0) so fat, and is available under
the "codecs" module, under org.apache.lucene.codecs.memory.*
Mike McCandless
http://blog.mikemccandless.com
On Wed, Jan 22, 2014 at 6:38 AM, Marcio Napoli wrote:
> Hey! :)
>
> How could i use this new reader/writer ?
>
On Wed, Jan 22, 2014 at 12:09 PM, Michael McCandless
wrote:
Hi,
> DocsAndPositionsEnum.getPayload() is allowed to re-use the returned
> BytesRef under the hood.
Ah, I am starting to get it. The BytesRef would be directly stored in
the key set of the map, but since its properties can change, the
Hey! :)
How could i use this new reader/writer ?
https://issues.apache.org/jira/browse/LUCENE-3069
Thanks,
Marcio
Go beyond Lucene⢠features with Numere®
http://numere.stela.org.br
DocsAndPositionsEnum.getPayload() is allowed to re-use the returned
BytesRef under the hood.
So, if you want to hold a copy of the payload across two or more calls
to .getPayload you'll have to make a deep copy of
(BytesRef.deepCopyOf) the returned BytesRef yourself.
Mike McCandless
http://blog.
Note that Lucene doesn't support general in-place document updates, and
updating a document means first deleting it and adding it back.
Therefore if you only intend to add/change few categories of an existing
document, you have to fully re-index the document. This is not specific to
categories but
On Wed, 22 Jan 2014 07:14:59 +0100
Yann-Erwan Perio wrote:
> On Tue, Jan 21, 2014 at 7:54 PM, Steven Schlansker
> wrote:
>
> Certainly, but my problem still persists if I do not do it. I spent
> the whole night debugging the code, to no avail. As a matter of fact,
> when I run a series of tests
11 matches
Mail list logo