Hi,
I've added
LUCENE-4516 - Suggesters: allow to associate a user-specified key (int)
with a string
LUCENE-4517 - Suggesters: allow to pass a user-defined predicate/filter
to the completion searcher
LUCENE-4518 - Suggesters: highlighting (explicit markup of user-typed
portions vs. generated
Thanks!
Mike McCandless
http://blog.mikemccandless.com
On Wed, Oct 31, 2012 at 8:16 AM, Oliver Christ wrote:
> Hi,
>
> I've added
>
> LUCENE-4516 - Suggesters: allow to associate a user-specified key (int)
> with a string
>
> LUCENE-4517 - Suggesters: allow to pass a user-defined predicate/fil
Run CheckIndex on the index?
What filesystem is IndexWriter using to write to the index...?
Have you changed the LockFactory on the Directory?
Mike McCandless
http://blog.mikemccandless.com
On Tue, Oct 30, 2012 at 11:27 PM, superruiye wrote:
> The exception "read past EOF" Bothering me a lon
Hy Guys,
Is there some advantage in speed or index size to use this:
IntDocValuesField fld = new IntDocValuesField("fldName", 1);
StoredField fld = new StoredField("fldName", 1);
instead of this:
IntField fld = new IntField("fld", 1, Field.Store.YES);
Searching, sorting and retrieving data fr
The big advantage of IntField is you can do NumericRangeQuery/Filter
on the field.
Mike McCandless
http://blog.mikemccandless.com
On Wed, Oct 31, 2012 at 9:42 AM, Ivan Vasilev wrote:
> Hy Guys,
>
> Is there some advantage in speed or index size to use this:
>
> IntDocValuesField fld = new IntDo
Thanks Mike.
On 31.10.2012 г. 15:52, Michael McCandless wrote:
The big advantage of IntField is you can do NumericRangeQuery/Filter
on the field.
Mike McCandless
http://blog.mikemccandless.com
On Wed, Oct 31, 2012 at 9:42 AM, Ivan Vasilev wrote:
Hy Guys,
Is there some advantage in speed or
And in general, using 1 as precisionStep is not always a good idea - size-wise
and performance wise. I would use the default of 4.
-
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: u...@thetaphi.de
> -Original Message-
> From: Michael McCandless [mail
The DocValues field is better for sorting, as the values do not need to be
uninverted. The Field is already written to disk as a big int[] array, so
sorting using SortField is faster and less memory expensive because this
structure can be used for sorting.
-
Uwe Schindler
H.-H.-Meier-Allee
Uwe, that '1' was the value of the field not the precision step...
And that's a good point about IntDocValues being more efficient for sorting.
Mike McCandless
http://blog.mikemccandless.com
On Wed, Oct 31, 2012 at 10:16 AM, Uwe Schindler wrote:
> And in general, using 1 as precisionStep is no
Yes the "1" is the value of the field.
Thanks Mike and Uwe.
On 31.10.2012 г. 16:23, Michael McCandless wrote:
Uwe, that '1' was the value of the field not the precision step...
And that's a good point about IntDocValues being more efficient for sorting.
Mike McCandless
http://blog.mikemccandl
Hy Guys,
I use as suggested in question "Lucene 4.0 delete by ID" from 29.Oct -
instead of reader.delete(docID) use - writer.tryDeleteDocument(..)
method but for some reason it does not work.
My code is:
IndexWriterConfig iwc = new
IndexWriterConfig(Version.LUCENE
This looks like a real bug! Thanks for reporting it Ivan ... I'll
open an issue.
Mike McCandless
http://blog.mikemccandless.com
On Wed, Oct 31, 2012 at 11:41 AM, Ivan Vasilev wrote:
> Hy Guys,
>
> I use as suggested in question "Lucene 4.0 delete by ID" from 29.Oct -
> instead of reader.delete
I opened https://issues.apache.org/jira/browse/LUCENE-4521 ...
Mike McCandless
http://blog.mikemccandless.com
On Wed, Oct 31, 2012 at 12:10 PM, Michael McCandless
wrote:
> This looks like a real bug! Thanks for reporting it Ivan ... I'll
> open an issue.
>
> Mike McCandless
>
> http://blog.mik
I'm migrating code from Lucene 3.5 to 4.0. I have the following code which is
supposed to highlight text. I get the exception InvalidTokenOffsetsException.
I have no idea what that means. I am using a custom analyzer which seems to
work for searching/indexing, so I assume it will work here (
Hi Mike,
I got the same problem as above. My search project is running on two
servers(1 master for index writing and reading and 1 slaver for index
reading), and the master server writes the index into a seperate disk(not
belong to master) which is shared by the slaver. I have never changed the
Loc
15 matches
Mail list logo