Replicator and Writer deletion policy

2017-06-01 Thread Riccardo Tasso
I am studying a solution which uses lucene replicator components (I'm on lucene 4.10.4) and I've found some documentation on the javadoc and in some blog posts. When my IndexWriter commits it produces a Revision which is sent to the ReplicationClient. To be sure of keeping data untill the

Re: Replicator and Writer deletion policy

2017-06-01 Thread Riccardo Tasso
gt; incRef/decRef the files that still need to be copied. > > I'm using this feature now and it's working quite well. > > Mike McCandless > > http://blog.mikemccandless.com > > On Thu, Jun 1, 2017 at 3:25 AM, Riccardo Tasso <riccardo.ta...@gmail.com> > wrote: > >

Re: Optimizing number of segments in lucene index (no writes/deletes, only reads)

2017-06-14 Thread Riccardo Tasso
2017-06-14 19:20 GMT+02:00 Uwe Schindler : > You also lose the ability to parallelize searches with an Executor on > IndexSearcher! How can you say that? Isn't true that multiple reader can access concurrently on the same segment?

Re: Optimizing number of segments in lucene index (no writes/deletes, only reads)

2017-06-14 Thread Riccardo Tasso
Hi, I have recently read this post, I think it will give you some hint: http://blog.trifork.com/2011/11/21/simon-says-optimize-is-bad-for-you/ Probably the only advantage of having one huge segment is to use less disk space. Riccardo 2017-06-14 5:23 GMT+02:00 Tom Hirschfeld

Re: Lucene with Database

2017-12-27 Thread Riccardo Tasso
Hi, I am not aware of any lucene integration with rdbms but I don't think it would be very usefull, what do you mean with "guideline for using Lucene with Database"?. Sometimes it makes sense a database integration with lucene (for example Neo4J and OrientDB use lucene as one of their indexing

Re: Lucene with Database

2017-12-27 Thread Riccardo Tasso
2017-12-28 6:35 GMT+01:00 Kumar, Santosh : > > While looking up for examples of fuzzy search with Lucene, I came across > examples that demonstrate Lucene with file system predominantly, so was > wondering if there are any samples on ‘How to use Lucene with DB’ or if the >

Count terms for IntPoint field

2018-02-28 Thread Riccardo Tasso
Hello, I'm porting an application from lucene 4 to lucene 7. I've converted a field from IntField to IntPoint and at query or indexing time everything is ok. When I call the method: reader.getSumTotalTermFreq(field); it returns zero for my IntPoint field. I understand that IntPoint is stored

[ANN] leila index reader 0.5.0 released

2018-03-14 Thread Riccardo Tasso
Hi, in the past year I worked on a side project which helped me both for learning lucene and for making my life easier exploring remote indexes. It is called leila, since it's inspired by luke, and it's available under Apache Licence on github: https://github.com/raymanrt/leila Leila is

Re: Count terms for IntPoint field

2018-03-01 Thread Riccardo Tasso
. For DocValues my question doesn't make sense, since there is no inverted index for those fields. Another edge case is the stored only field. Also for this one I think no count could be provided by lucene. Riccardo 2018-03-01 19:52 GMT+01:00 Riccardo Tasso <riccardo.ta...@gmail.com>: > Thanks,

Re: Count terms for IntPoint field

2018-03-01 Thread Riccardo Tasso
tics however. > > Le mer. 28 févr. 2018 à 21:47, Riccardo Tasso <riccardo.ta...@gmail.com> a > écrit : > > > Hello, > > I'm porting an application from lucene 4 to lucene 7. > > > > I've converted a field from IntField to IntPoint and at query or indexing >

Re: IntField to IntPoint

2019-06-07 Thread Riccardo Tasso
n index that > has _ever_ been touched by Lucene 6x, no matter what intervening steps > have been taken. Or in general, Lucene/Solr X will not open indexes > touched by X-2, starting with 8x rather than behave unexpectedly. > > Best, > Erick > > > On Jun 5, 2019, at 8:

IntField to IntPoint

2019-06-05 Thread Riccardo Tasso
Hello everybody, I have a (very big) lucene 4 index with documents using IntField. On that field, which should be stored and sortable, I should search and execute range queries. I've tried to upgrade it from 4 to 7 with IndexUpgrader but I observed that IntFields aren't searchable anymore.

Re: IntField to IntPoint

2019-06-05 Thread Riccardo Tasso
n index that > has _ever_ been touched by Lucene 6x, no matter what intervening steps > have been taken. Or in general, Lucene/Solr X will not open indexes > touched by X-2, starting with 8x rather than behave unexpectedly. > > Best, > Erick > > > On Jun 5, 2019, at 8:

Disk Free decrease in a directory containing only live lucene indexes

2020-01-21 Thread Riccardo Tasso
Hi, I'm running a lucene based application on a linux system. The application writes and read many lucene indexes under the same directory, which doesn't contain other data. We are monitoring the indexes directory and we noticed that the disk usage as calculated by the df util grows more