Thanks for the response Otis, below is a link to the javadoc in the API:
http://lucene.apache.org/java/docs/api/org/apache/lucene/demo/DeleteFiles.html
( Deletes documents from an index that do not contain a term)
Here is a link to the actual sample implementation:
http://svn.apache.org/repos/as
> now pk is primary key which i am storing but not indexing it..
> doc.add(new Field("pk", message.getId().toString(),Field.Store.YES,
> Field.Index.NO));
You would need to index it for this to work.
>From javadocs for IndexReader.deleteDocuments(Term):
Deletes all docum
The javadoc is right. :)
Otis
- Original Message
From: EDMOND KEMOKAI <[EMAIL PROTECTED]>
To: java-user@lucene.apache.org
Sent: Sunday, October 15, 2006 12:49:21 AM
Subject: IndexReader.deleteDocuments
Hi guys,
I am a newbee so excuse me if this is a repost. From the javadoc it seems
Re
hi guys
i am having problem deleting documents .. apparently its not doin it.. here
is the code snippet
public void delete(final BoardMessage message)
{
try{
IndexReader fsReader;
if (index.exists()) {
fsReader =IndexReader.open(index);
Hi guys,
I am a newbee so excuse me if this is a repost. From the javadoc it seems
Reader.deleteDocuments deletes only documents that have the provided term,
but the implementation examples that I have seen and from the behaviour of
my own app, deleteDocuments(term) deletes documents that don't ha
I'd have to check CHANGES.txt, but I don't think that many bugs have been fixed
and not that many new features added that anyone is itching for a new release.
Otis
- Original Message
From: George Aroush <[EMAIL PROTECTED]>
To: java-dev@lucene.apache.org; java-user@lucene.apache.org
Sent
Bill: Lucene already comes with PorterStemFilter (class name), which you can
use for English.
Ideas 1 and 2 sound interesting, but I think they may end up offering false
positives. The reason is obvious - multiple and unrelated words can get
stemmed to the same stem.
Is "care" really the stem
Redirecting to java-user.
I wouldn't worry too much about complexity of option 1, unless you know that's
just the nature of your app.
Note that going with option one you benefit from the ability to assign
different boosts to different fields, length norm comes into play when scoring,
etc.
Otis
John Gilbert <[EMAIL PROTECTED]> wrote on 14/10/2006 20:14:43:
> I am trying to write an Ejb3Directory. It seems to work for index
> writing but not for searching.
> I get the EOF exception. I assume this means that either my
> OutputStream or InputStream is doing
> something wrong. It fails becaus
I am trying to write an Ejb3Directory. It seems to work for index writing but
not for searching.
I get the EOF exception. I assume this means that either my OutputStream or
InputStream is doing
something wrong. It fails because the CSInputStream has a length of zero when
it reads the .fnm sectio
On Oct 14, 2006, at 3:57 PM, Jong Kim wrote:
Hi,
I'm looking for a stemmer that is capable of returning all
morphological
variants of a query term (to be used for high-recall search). For
example,
given a query term of 'cares', I would like to be able to generate
'cares',
'care', 'cared',
On 10/14/06, Jong Kim <[EMAIL PROTECTED]> wrote:
Hi,
I'm looking for a stemmer that is capable of returning all morphological
variants of a query term (to be used for high-recall search). For example,
given a query term of 'cares', I would like to be able to generate 'cares',
'care', 'cared', a
Hi,
I'm looking for a stemmer that is capable of returning all morphological
variants of a query term (to be used for high-recall search). For example,
given a query term of 'cares', I would like to be able to generate 'cares',
'care', 'cared', and 'caring'.
I looked at the Porter stemmer,
Hi folks,
Sorry for reposting this question (see original email below) and this time
to both mailing list.
If anyone can tell me what is the plan for Lucene 2.0.1 release, I would
appreciate it very much.
As some of you may know, I am the porter of Lucene to Lucene.Net knowing
when 2.0.1 will be
On Oct 13, 2006, at 4:36 PM, Serhiy Polyakov wrote:
I want to access Lucene index with SRW Web Service and the SRU. I know
that Online Computer Library Center has one implementation:
http://www.oclc.org/research/announcements/2003-11-07b.htm
But it is kind of limited to DSpace digital repository
The IndexReader is needed for finding all wildcard matches (by the index
lexicon). It seems you do not want to expand the wild card query by the
index lexicon, but rather with that of the highlighted text (which may not
be indexed at all). I think you have at least two ways to do that:
(1) create
16 matches
Mail list logo