Re: How does delete work?
So what if documents are deleted in the meantime? Then the recursive merge can't determine the X segments with the same size. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Problem with Range
Correct but actually it would be ( DATE:[null - 20020101]) with spaces around the -. - Original Message - From: Clemens Marschner [EMAIL PROTECTED] To: Lucene Users List [EMAIL PROTECTED] Sent: Saturday, November 23, 2002 12:18 PM Subject: Re: Problem with Range This probably does not answer your question, but may be a side effect: if(start!=null || end!=null){ buff.append( ( DATE:[); buff.append(start); buff.append( - ); buff.append(end); buff.append(] ) ); fieldList.add(DATE); This implies that start OR end can be null, producing something like ( DATE:[null-20020101]) -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: How does delete work?
Clemens Marschner wrote: So what if documents are deleted in the meantime? Then the recursive merge can't determine the X segments with the same size. If you read my previous message you'll find the answer: Doug Cutting wrote: It's actually a little more complicated than that, since (among other reasons) after docuuments are deleted a segment's size will no longer be exactly a power of the mergeFactor. If you want the gory details, look at IndexWriter.java. Or just set IndexReader.infoStream to System.out, then add and delete documents and watch what happens. Doug -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Readability score?
On Friday, Nov 22, 2002, at 20:46 Europe/Zurich, petite_abeille wrote: Does anyone have a handy library to compute readability score? Here is an extract from a paper describing the Flesch index and an algorithm to count syllables... Does that make any sense? Thanks. The Flesch index: An easily programmable readability analysis algorithm -- John Talburt ... Each vowel (a, e, i, o, u, y) in a word counts as one syllable subject to the following sub-rules: Ignore final -ES, -ED, -E (except for -LE) Words of three letters or less count as one syllable Consecutive vowels count as one syllable. Although there are many exceptions to these rules, it works in a remarkable number of cases. ... http://portal.acm.org/ citation.cfm?id=10583coll=portaldl=ACMCFID=5876721CFTOKEN=58538732 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]