hy,
i would know if someone has written a avalon indexwriter
thank in advance..
hy ,
when i use standardTokenizer
for parse for example I.B.M
the type of the Token is HOST and not ACRONYM
WHY ???
in StandardTokenizer.jj
// acronyms: U.S.A., I.B.M., etc.
// use a post-filter to remove dots
| ACRONYM: ALPHA . (ALPHA .)+
// hostname
| HOST: ALPHANUM (. ALPHANUM)+
hy ,
in the Hits class , we have a query proporty but no public method to get it..
it would great if you add this
public final Query getQuery() {
return this.query;
}
hy ,
i would like backup a index.
1) my first idea is to make a system copy of all the files
but in the FSDirectory class, there is no public method to know where is located the
directory. A simple methode like
public File getDirectoryFile() {
return directory; would be great;
}
2) so i
to Directory function ( backup)
Hi,
an elegant method is to create an empty directory and merge
the index to be copied into it, using .addDirectories() of
IndexWriter. This way, you do not have to deal with files
at all.
Regards,
Karsten
-Ursprüngliche Nachricht-
Von: Nicolas Maisonneuve
- Original Message -
From: Nick Smith [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, January 15, 2004 2:58 PM
Subject: Betreff: Copy Directory to Directory function ( backup)
Hi Nico,
This is the method that I use for backing up my indices...
Good Luck!
Nick
/**
, true);
// backup
copy(source, target);
target.close();
getLogger().info(end backup index +index_to_backup+ at +new
Date()+...ok);
}
- Original Message -
From: Nicolas Maisonneuve [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, January 15, 2004
- Original Message -
From: Nicolas Maisonneuve [EMAIL PROTECTED]
To: Lucene Users List [EMAIL PROTECTED]
Sent: Thursday, January 15, 2004 3:58 PM
Subject: Re: Betreff: Copy Directory to Directory function ( backup)
thanks ! the copy function works
but i have troubles..
I used
hy,
i would like to know
in the IndexReader.document(int i)
what is this number i ?
if the the first document is the oldest document indexed
and the last the youngest ? (so we can sort by date easyly) ?
thank in advance
nico
thanks Karl !
- Original Message -
From: Karl Koch [EMAIL PROTECTED]
To: Lucene Users List [EMAIL PROTECTED]
Sent: Sunday, January 18, 2004 9:22 PM
Subject: Re: theorical informations
Actually, finding an answer to this question is not really important. More
important is if you can
Message -
From: Nicolas Maisonneuve [EMAIL PROTECTED]
To: Lucene Users List [EMAIL PROTECTED]
Sent: Sunday, January 18, 2004 9:33 PM
Subject: Re: theorical informations
thanks Karl !
- Original Message -
From: Karl Koch [EMAIL PROTECTED]
To: Lucene Users List [EMAIL PROTECTED
)
but
where is the javadoc expression for tf_q faq expression
nicolas
- Original Message -
From: Nicolas Maisonneuve [EMAIL PROTECTED]
To: Lucene Users List [EMAIL PROTECTED]
Sent: Sunday, January 18, 2004 9:33 PM
Subject: Re: theorical informations
thanks Karl
hy,
recently, there is a new subdirectory spans in the search directory. what is it and
how use it ?
thanks in advance
nicolas maisonneuve
the QueryParser or is there a different way for do this ?
( because i modified the QueryParser and it's work but if there is a cleaner way to do
this , i take it ! )
nicolas maisonneuve
hy lucene users
i developed a Spell checker for lucene inspired by the David Spencer code
see the wiki doc: http://wiki.apache.org/jakarta-lucene/SpellChecker
Nicolas Maisonneuve
you test this version with our dictionary and said me the
results ?
3 - I search a french dictonary , someone has a URL where i could download it ?
thanks to Jonathan Hager, and Aad Nales for your suggestions / observations ;-)
Nicolas Maisonneuve
that has terms in specific fields
* (OR operator: the documents that has terms in field1 or in field2)
* @author Nicolas Maisonneuve
*/
public class HasFieldFilter
extends Filter {
private Set fieldnames;
/**
* a array of the field's names
* @param fieldname String[] a array
does your filter differ from the capabilities available
from the built-in QueryFilter? It seems at first glance to be nearly
the same thing.
Erik
On Nov 21, 2004, at 4:52 AM, Nicolas Maisonneuve wrote:
I developped a filter to seach in filtering the search with anterior
hmm just a question ..
- in the normal indexSearcher method
there is a if (score 0.0F || filter.get(doc)) { doc in the hit}
- but in the queryFilter , there isn't a minimum score condition
normal or not ?
nicolas
On Sun, 21 Nov 2004 14:34:00 +0100, Nicolas Maisonneuve
[EMAIL PROTECTED
hy george
is the C# lucene faster than java lucene ? (because it seems to me
that C# is faster than java, isn't it ?)
nicolas maisonneuve
On Sun, 28 Nov 2004 21:08:30 -0500, George Aroush [EMAIL PROTECTED] wrote:
Hi folks,
I am please to announce the availability of dotLucene 1.4.0 RC1
hi,
think first of the relevance of the model in this 2 search engine for
XML document retrieval.
Lucene is classic fulltext search engine using the vector space
model. this model is efficient for indexing no structred document
(like plain text file ) and not made for structured document like
21 matches
Mail list logo