Please reference How do I get code written for Lucene 1.4.x to work with
Lucene 2.x?
http://wiki.apache.org/lucene-java/LuceneFAQ#head-86d479476c63a2579e867b
75d4faa9664ef6cf4d
Andy
-Original Message-
From: Lindsey Hess [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 25, 2007 12:31 PM
To
When index, you can add LowerCaseFilter to your analyzer, or just use
some analyzer already done lowercase, such as
StandardAnalyzer,SimpleAnalyzer
Andy
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of li
hao cho
Sent: Friday, July 20, 2007 2:52 PM
To: jav
You can reference org.apache.lucene.document.Field class. It should be
similar as:
ontactDocument.add(new Field("name", contact.getName(),Field.Store.YES,
Field.Index.TOKENIZED));
Andy
-Original Message-
From: Amit [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 10, 2007 6:00 PM
To: java-
You can use Luke to open your index.
In the Files tab, if some files are shown as deletable, it is should be
safe to delete these files.
Please backup your data before testing.
Andy
-Original Message-
From: Harini Raghavan [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 10, 2007 2:29 PM
In effect, IndexWriter's updateDocument() will first delete the document
containing specific term, then add the document. It just wrap delete&add
as a thread safe method.
Andy
-Original Message-
From: Doron Cohen [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 27, 2007 3:58 PM
To: java-u
Perhaps it is not possible if you have written the document to index.
Andy
-Original Message-
From: WATHELET Thomas [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 27, 2007 3:46 PM
To: java-user@lucene.apache.org
Subject: Update documents
High,
Is-it possible to update a document's fiel
In fact,it should be:
Standardtoken.image=Token.termText,
Standardtoken.beginColumn= Token.startOffset,
Standardtoken.endColumn =Token.endOffset,
You can reference StandardTokenizer.java, about line 73.
Andy
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Token.termText() perhaps is the same as st.getToken(y).image
Andy
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John
Paul Sondag
Sent: Wednesday, June 27, 2007 9:32 AM
To: java-user@lucene.apache.org
Subject: Standard Tokenizer Question
Hey,
I Think th
Perhaps this reference
http://www.mail-archive.com/[EMAIL PROTECTED]/msg062
60.html will give you some help. It's about Hibernate Lucene
integration.
Andy
-Original Message-
From: karl wettin [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 27, 2007 8:17 AM
To: java-user@lucene.apache.org
Suggest you use lucene 2.1 or above
Andy
-Original Message-
From: Lee Li Bin [mailto:[EMAIL PROTECTED]
Sent: Monday, June 25, 2007 5:14 AM
To: java-user@lucene.apache.org
Subject: TermVector
Hi,
May I know how do I store TermVector?
When I set the last parameter to true, isn't i
You are right!
"emp-id" will be separated to two terms CONTENT:"emp" CONTENT:"id" by
standard tokenizer for indexing and searching. But direct writing term
(CONTENT:"emp-id") will not.
Andy
-Original Message-
From: SK R [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 20, 2007 5:24 PM
These two classes are generated by QueryParser.jj. Perhaps you should
first look at how to use JavaCC and modify QueryParser.jj to meet your
requirement.
Andy
-Original Message-
From: Mahdi Rahimi [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 20, 2007 4:14 PM
To: java-user@lucene.apach
Hi,
There is one class named org.apache.lucene.index.ParallelReader, as its javadoc
stated:
An IndexReader which reads multiple, parallel indexes. Each index added must
have the same number of documents, but typically each contains different
fields. Each document contains the union of the field
13 matches
Mail list logo