hi,
when I restart the tomcat . the Index is getting corrupted. If I take the
backup of Index and then restarting tomcat. the Index is not working properly.
Do I have to Index again all the documents whenever I restart the Tomcat?
---SOFTPRO
Hello,
Help me pls, I want to know how to remove document from index
Alex Kiselevsky
Speech Technology Tel:972-9-776-43-46
RD, Amdocs - IsraelMobile: 972-53-63 50 38
mailto:[EMAIL PROTECTED]
The information contained in this message is proprietary of Amdocs,
There is no need to reindex. However, I also don't quite get what the
problem is :)
Otis
--- Santosh [EMAIL PROTECTED] wrote:
hi,
when I restart the tomcat . the Index is getting corrupted. If I take
the backup of Index and then restarting tomcat. the Index is not
working properly.
Leading wildcard character (*) is not allowed if you use QueryParser
that comes with Lucene. Reason: performance. See many discussions
about this on lucene-user mailing list. Also see the search sytax
document on the Lucene site. What other characters are you having
trouble with?
Otis
---
Hi Otis
What kind of implications does that produce on the search?
If I understand correctly that record would not be searched for if the
field is not there, correct?
But then is there a point putting an empty value in it, if an
application will never search for empty values?
thanks
-pedja
Otis
Correct.
No, there is no point in putting an empty field there.
Otis
--- [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hi Otis
What kind of implications does that produce on the search?
If I understand correctly that record would not be searched for if
the
field is not there, correct?
Does Lucene support the XOR operator?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Does anyone know about Ixiasoft server. Its a xml repository/search engine. If
anyone knows about it, does he/she also know how it is compared to Lucene?
Which is fast?
Praveen
**
Praveen Peddi
Sr Software Engg, Context Media, Inc.
Hello,
You can use BooleanQuery for that.
Otis
--- Ravi [EMAIL PROTECTED] wrote:
Hi
How do you get all documents in lucene where a particular field
value
is in a given list of values (like SQL IN). What kind of Query class
should I use?
Thanks in advance.
Ravi.
On Dec 8, 2004, at 2:05 PM, [EMAIL PROTECTED] wrote:
Does Lucene support the XOR operator?
XOR is not a built-in operation. However in a few lines of code (a
custom subclass of BooleanQuery) I was able to implement it. I built
this functionality under contract and I'm still working out the
I got this working. I had to close all index searchers and writer on the
index, set them to null and call System.gc() before the delete process.
I think windows still thinks writer and searchers are pointing to the
index directory even if you close them.
Ravi
-Original Message-
From:
Hi Erik,
I am not getting any error.
Yes I am indexing multiple keyword fields by the same name in a single
document. Does that works with Lucene?
Thanks,
Ramon
-Original Message-
From: Erik Hatcher [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 07, 2004 5:13 PM
To: Lucene Users
Hi all,
I have a question about updating the lucene document. I know that there is no
API to do that now. So this is what I am doing in order to update the document
with the field title.
1) Get the document from lucene index
2) Remove a field called title and add the same field with a modified
You unstored fields were not stored in the index, only their terms
were stored. When you get the document from the index and modify it,
those terms are lost when you add the document again.
You can either simply create a new document and populate all the
fields and add that document to the
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
My application needs to enumerate all terms for a specific field. To do that
I get the TermEnum using the following code:
TermEnum terms = reader.terms(new Term(fieldName, ));
I noticed that initially TermEnum is positioned at the first term. In other
words, I don't have to call
: TermEnum terms = reader.terms(new Term(fieldName, ));
:
: I noticed that initially TermEnum is positioned at the first term. In other
: words, I don't have to call terms.next() before calling terms.term(). This
: is different from the behavior of Iterator, Enumeration and ResultSet whose
You cannot use a wild character as the first character of the search.
http://jakarta.apache.org/lucene/docs/queryparsersyntax.html
- Original Message -
From: Santosh [EMAIL PROTECTED]
To: Lucene Users List [EMAIL PROTECTED]
Sent: Wednesday, December 08, 2004 6:21 PM
Subject: problem
You cannot use a wild character as the first character of the search.
http://jakarta.apache.org/lucene/docs/queryparsersyntax.html
- Original Message -
From: Santosh [EMAIL PROTECTED]
To: Lucene Users List [EMAIL PROTECTED]
Sent: Wednesday, December 08, 2004 6:24 PM
Subject:
Justin Swanhart wrote:
The indexes are located on a NFS mountpoint. Could this be the
problem?
Yes. Lucene's lock mechanism is designed to keep this from happening,
but the sort of lock files that FSDirectory uses are known to be broken
with NFS.
Doug
On Dec 8, 2004, at 5:02 PM, Ramon Aseniero wrote:
Yes I am indexing multiple keyword fields by the same name in a single
document. Does that works with Lucene?
No - logically it doesn't make sense. How would Lucene determine which
of those field values to sort by?
You need a single field value
I thought Lucene implements the Boolean model.
-John
On Thu, 9 Dec 2004 00:19:21 +0100, Nicolas Maisonneuve
[EMAIL PROTECTED] wrote:
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
Lucene contains a complete set of Boolean query operators, and it uses
the vector space model to determine scores for relevance ranking. It's
fast. It works.
Chuck
-Original Message-
From: John Wang [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 08, 2004 7:13 PM
To:
Hi All,
Does Lucene support conditional operator? Like retrieve all documents where
age is greater than 21, how do I compose a query like this in Lucene is
there a different Query object to use?
Thanks,
Ramon
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Chris Hostetter writes:
I thought it was documented in the TermEnum interface, but looking at it
now I realize that not only does the TermEnum javadoc not explain it
very well, but the class FilteredTermEnum (which implements TermEnum)
acctually documents the oposite behavior...
public
Hi Guy's
Apologies...
One question for the form [ Especially Erik]
1) I have a MERGED Index with 100,000 File Indexed into it ( Content is
one of the Fields of Type 'Text' )
2) On search for a simple words Camera returns me 6000 hits.
3) Since the Search process is via
26 matches
Mail list logo