Re: Lucene killing JVM

2011-09-09 Thread Dragan Jotanovic
f you have aggressive optimizations enabled, but that's not the case, so you are fine :-) Uwe - Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: u...@thetaphi.de -Original Message----- From: Dragan Jotanovic [mailto:dragan.jotano...@diosphere.com]

Re: Lucene killing JVM

2011-09-01 Thread Dragan Jotanovic
you're describing. Dawid On Thu, Sep 1, 2011 at 11:21 AM, Federico Fissore wrote: Dragan Jotanovic, il 01/09/2011 11:12, ha scritto: Hi, I recently upgraded to lucene 3.3 (from 3.0.3) and now my JVM keeps crashing. I noticed that it happens when I'm closing and reopening my index.

Lucene killing JVM

2011-09-01 Thread Dragan Jotanovic
Hi, I recently upgraded to lucene 3.3 (from 3.0.3) and now my JVM keeps crashing. I noticed that it happens when I'm closing and reopening my index. It doesn't happen every time. Sometimes it works for days and sometimes it crashes several times a day. Usually there is no exception in log file

Re: How to achive this kind of document ordering

2010-05-20 Thread Dragan Jotanovic
Thanks Frank, the idea of preparing set of structured lists is what I initially thought I will have to do, but I'm afraid there will be serious performance penalty, because I would have to traverse the documents until I find all distinct values of SortFieldB. But I guess there is no other way.

Re: How to achive this kind of document ordering

2010-05-19 Thread Dragan Jotanovic
#x27;m off base let me know... HTH Erick On Tue, May 18, 2010 at 12:01 PM, Dragan Jotanovic< dragan.jotano...@diosphere.com> wrote: |Hi, I need to sort results by two fields. First one is numeric and sorting should be in ascending order. Second one should be ordered in a "leve

How to achive this kind of document ordering

2010-05-18 Thread Dragan Jotanovic
|Hi, I need to sort results by two fields. First one is numeric and sorting should be in ascending order. Second one should be ordered in a "levels" structure. Here is the example: Unsorted: DocId SortFieldA SortFieldB 1101A 2102B 3102A

Re: Filtering on two date fields simultaneously

2009-10-01 Thread Dragan Jotanovic
Thanks, I will try NumberRangeQuery On Thu, Oct 1, 2009 at 4:01 PM, Grant Ingersoll wrote: > > On Sep 29, 2009, at 11:30 AM, Dragan Jotanovic wrote: > >> Hi, I was thinking a long time how to implement this kind of >> functionality but couldn't figure out anything ap

Filtering on two date fields simultaneously

2009-09-29 Thread Dragan Jotanovic
Hi, I was thinking a long time how to implement this kind of functionality but couldn't figure out anything appropriate. In my lucene document, I have two date fields: start and end date. As a search input I have current date (NOW). I need to display all documents for which current date is between

RE: could I implement this scenario?

2008-09-19 Thread Dragan Jotanovic
I think it is not good idea to use lucene as storage, it is just index. You could probably implement this using flat files and lucene. Your simDocId would be stored field which you can retrieve from the index after search, and it could also contain the information where on the disk is document lo

RE: Sorting in lucene through Document boosting

2008-09-15 Thread Dragan Jotanovic
PM To: java-user@lucene.apache.org Subject: Re: Sorting in lucene through Document boosting 15 sep 2008 kl. 14.08 skrev Dragan Jotanovic: > I made simple Similarity implementation: > public float tf(float arg0) { > return 1f; > } Why do you touch the term f