Try using telling the QueryParser to use a PerFieldAnalyzer with the
KeywordAnalyzer configured for the fields you left UN_TOKENIZED and see if
that helps.
It helps!!! I wrapped (with PerFieldAnalyzerWrapper) KeywordAnalyzer as
default analyzer and SnowballAnalyzer only for the field that I
Hai,
Can I store multiple values for same Field, with same field name for a
given document.
I mean is this operation permitted
doc.add(Field.text(title,T1))
doc.add(Field.text(title,T2))
doc.add(Field.text(title,T3))
So when I ask for title it should return all the
Yes, no problem. Except there is no Field.text() method, so you'll
want to use the Field constructor to make the fields at least stored
to get them back, but most likely you'd also want them indexed and
tokenized too.
Erik
On Aug 22, 2006, at 6:32 AM, saikrishna venkata pendyala
I thought I would pass it along if anyone is interested.
If the emails are in mbox format Tropo as suggested in lucene's faq
works perfectly if it is in an imap store.
For archived emails stored in mbox format I used mstor.jar from
mstor.sourceforge.net with Tropo.
thanks,
suba suresh.
Mark --
Yes please! I'm very interested in the mixing of boolean and proximity
operators. I have also worked on a parser (using JavaCC) but haven't
managed to crack queries such as:
((a OR b) AND c) NEAR (d NOT e)
I can get the parse tree okay, but haven't figured out how to translate
that
Hi All,
I am getting into Java + Lucene. To compile a Lucene program
CreateIndex.java
public class CreateIndex {
// usage: CreateIndex index-directory
public static void main(String[] args) throws Exception {
String indexPath = args[0];
IndexWriter writer;
// An index is created by
So it looks like there's only a little Lucene-oriented stuff on the
program at ApacheCon 2006. The Solr talk looks interesting.
I was wondering if there have been any other self/semi-organized things
around Lucene in the past, like a BOF?
It looks like Solr does not use a simple cached queryfilter as a query
cache. Why is this? Is a cache queryfilter not efficient enough? Is this
alternate method just so you can easily load the cache from an old
Searcher to a new Searcher? Any info appreciated.
- Mark
Hi All,
Does anyone have a simple Tomcat search/result example? I have 4 text files,
i would like to index.
Thanks