Hi
I want to search in multiple fields with "AND" condition
that is, If I have fields for employee
Field ("empNum","EC02261");
Field ("empPurchaseDept","john");
Field ("empAccountDept","john");
Field ("age","Aegentina");
Now I want to search in "PurchaseDept" & "AccountDe
Hi Friends
I was using Lucene 1.4.3 But Now I am using Lucene 2.0.0.
The First Problem arise is that in Lucene I was using
doc.add (Field.Keyword(FIELD_URL, item.uri));
doc.add (Field.Text(FIELD_OBJNAME, item.ObjName));
doc.add (Field.UnStored(FIELD_ALLDOCS, item.allConcat));
is it possible to take a stemmed token from as index and run some sort of
reverse porter stemming to get a logical word, the problem is that porter
stemming is very aggressive, for example: people is indexed as peopl , so
basically my quesion is
if i have peoples , people, both indexed as
Have a look at the CHANGES.txt file. First try upgrading to Lucene
1.9.x and then ensuring all the deprecation warnings are gone from
compilation, then you can cleanly go to 2.0.
Erik
On Jun 16, 2006, at 4:35 AM, Vikas Khengare wrote:
Hi Friends
I was using Lucene
On 6/16/06, z shalev <[EMAIL PROTECTED]> wrote:
is it possible to take a stemmed token from as index and run some sort of
reverse porter stemming to get a logical word, the problem is that porter
stemming is very aggressive, for example: people is indexed as peopl , so
basically my quesion
Hello everyone,
If you have 15 seconds to spare, please let us (Lucene developers) know which
version of Java you are using with Lucene: 1.4 or 1.5
All it takes is 1 click on one of the two choices:
http://www.quimble.com/poll/view/2156
No cheating, please. Thanks!
Otis
-
It's the Analyzer you're passing into the QueryParser.
StandardAnalyzer turns "C++" into "c". You can change the .jj grammar
to fix this. (same for "C#")
On 6/14/06, Joe Amstadt <[EMAIL PROTECTED]> wrote:
I'm trying to do a search on ( Java PHP C++ ) with
lucene 1.9. I am using a MultiFieldQu
I am working on indexing emails and want to have a "to" field. I am
currently putting all the emails on one line seperated w/ spaces...example:
[EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]
Then i index that with a StandardAnalyzer as follows:
doc.add(new Field("to", (String) itemCont
On Fri, 2006-06-16 at 15:20 -0400, Michael J. Prichard wrote:
> I am working on indexing emails and want to have a "to" field. I am
> currently putting all the emails on one line seperated w/ spaces...example:
>
> [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]
>
> Then i index that with
I've encountered a very vexing problem with Lucene 2.0.0. I am able
to create and search an index, but if I attempt get a document out of
the index, an IO exception is thrown. The type of exception depends
on the size of the index. If the index is very small, say fewer than
10 documents I do no
Hi John,
The IndexSearcher must remain open as long as you access the Hits
object returned from it.
-Yonik
http://incubator.apache.org/solr Solr, the open-source Lucene search server
On 6/16/06, John Christopher Groppe <[EMAIL PROTECTED]> wrote:
I've encountered a very vexing problem with Luc
: Hits hits = indexSearcher.search(query);
: indexSearcher.close();
: System.out.println("Hits found:" + hits.length());
: Iterator i = hits.iterator();
It's not legal to use an instance of Hits returned from a Searcher after
that Searcher has been closed. The rea
Hey Everyone,
I have been reading several threads about facet counts
and category counts and was wondering if/how they
might apply to searching for colors. Let's say that
there is a Lucene index where each document
corresponds to an image. In addition, each document
contains the top 10 most freque
Hi:
I have been playing with Lucene's term postings, e.g. iterating
over TermEnums etc.
For a field, say F, with values: {a, b, c, d, e}, is there a way to
get the index of a value, e.g. for a, return 0, and for c, return 2.
In a way, I am interested in getting the distance between Term("F",
Erik is very humorous. Erik 很幽默
15 matches
Mail list logo