Re: distance of matches

2011-08-24 Thread Simon Willnauer
Hey, On Wed, Aug 24, 2011 at 5:40 PM, Akos Tajti wrote: > Dear List, > > does the distance of the matches for a multi-term query matter? For example > if I search for "dog cat", which one of the following matches will get > higher rank? this depends on the query you are executing. if you use a p

Re: i'm having some trouble with class FSDirectory

2011-08-24 Thread Simon Willnauer
just use the static factory method FSDirectory#open(File) to obtain a FSDirectory instance simon On Wed, Aug 24, 2011 at 3:55 PM, Mostafa Hadian wrote: > hello. > there is this piece of code in the book "lucene in action" : > Directory dir = new FSDirectory(new File(indexDir), null); > but class

distance of matches

2011-08-24 Thread Akos Tajti
Dear List, does the distance of the matches for a multi-term query matter? For example if I search for "dog cat", which one of the following matches will get higher rank? "dog, cat, snake, apple" or "dog, apple, snake, cat" I expect the second. Am I right? Thanks in advance, Ákos Tajti

Issues with queries and fuzziness

2011-08-24 Thread jose garcia
Hi I'm having some issues with queries using different fuzziness values and StandardAnalyzer for a field: 1) *+any:climate~0.8 *, this query works ok returning results. Checking in Luke the rewritten query is like: any:climat^0.1652 any:climate 2) *+any:climate~0.9* , this query doesn't retu

Re: SSD Experience (on developer machine)

2011-08-24 Thread Isaias alves
>> we are probably running out of topic here, but for the record, there is >> also someone lamenting about ssd > I find all of this highly on-topic. SSD reliability is an important > issue. We use customer-grade SSDs (Intel 510 were the latest ones > bought) in our servers as we see no point in en

RE: i'm having some trouble with class FSDirectory

2011-08-24 Thread Sendros, Jason
Hi Mostafa, Try looking through the API for help with these types of questions: http://lucene.apache.org/java/3_3_0/api/all/org/apache/lucene/store/FSDi rectory.html You can use a number of FSDirectory subclasses depending on your circumstances. Hope this helps! Jason -Original Message

i'm having some trouble with class FSDirectory

2011-08-24 Thread Mostafa Hadian
hello. there is this piece of code in the book "lucene in action" : Directory dir = new FSDirectory(new File(indexDir), null); but class FSDirectory is an abstract class and cannot be instantiated like this. thank you very much for your helping.

Re: SSD Experience (on developer machine)

2011-08-24 Thread Federico Fissore
David Nemeskey, il 24/08/2011 11:46, ha scritto: [...] Theoretically, in the case described above, it would be possible to move 'static' data (data of cells that have not been written to for a long time) to the 5GB in question and use the 'fresher' cells as free space; this could be done in a rou

Re: SSD Experience (on developer machine)

2011-08-24 Thread David Nemeskey
Hi, interesting discussion about SSDs. On 2011 August 23, Tuesday 20:56:44 Toke Eskildsen wrote: > > 50TB before _every single cell in the drive_ gives up. You will change > > the drive much sooner, probably at the first two occasions of corrupted > > data. > > 50TB for the 5GB of cells. The res