Re: Time range facets on documents associated with a time interval

2015-03-25 Thread david.w.smi...@gmail.com
Hi Rainer, If Solr is an option, then as of 5.0 you can use “DateRangeField” and use Solr’s standard faceting on that. If this is at the Lucene level, you can do the same approach as Solr — use NumberRangePrefixTreeStrategy configured with a DateRangePrefixTree. Then for each interval, generate

Time range facets on documents associated with a time interval

2015-03-25 Thread Simon Rainer
Hi, I'm trying to implement dynamic range facets in Lucene, along the same lines as in the org.apache.lucene.demo.facet.RangeFacetsExample. However, in my case I'm dealing with documents that don't have a single timestamp, but an interval defined by a start- and end-timestamp. What I'm trying

Re: how to reasonably estimate the disk size for Lucene 4.x

2015-03-25 Thread Gaurav gupta
Could you please also correct me if I am calculating the document size wrongly as is it is the most important factor in disk size calculation formula. I am indexing the records from a CSV file and each records is of size 0.2 KB ( size of each doc = total file size/no of records = 200KB/1000 = 0.2

Problems with Lucene and BrazilianAnalyzer (lucene-core-4.9.0.jar and lucene-analyzers-common-4.9.0.jar): Search returning more results that the desired

2015-03-25 Thread Humberto Rocha
Hi I'm indexing 4 .txt files using: -Lucene (lucene-core-4.9.0.jar) -BrazilianAnalyzer (lucene-analyzers-common-4.9.0.jar) The files have the following content: - File A: tecnológico - File B: tecnologico - File C: tecnologias - File D: tecnolo For the search used as well: - Lucene (lucene-core-