Hi all,
The code snipset below does NOT result in an optimized index in one of
my test cases. As I understand, the optimized index, means that there is
only ONE segment file in the index folder. After this code has run, I
sometimes have 100 segment files in the directory.
When I call optimiz
Hi everybody,
Has anyone tried to code a solution like Google's "Did you mean?" in
Lucene?
I would be very happy to hear your ideas, approaches, suggestions.
Best,
Martin
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For ad
You can also use the
PerFieldAnalyzerWrapper to search in KeywordFields using QueryParser.
Best,
Martin
Vanlerberghe, Luc wrote:
Is your Analyzer aware that that particular field does not need to be
tokenized?
During indexation, if a field is passed that is passed as
tokenize=false, the ana
hello all,
lucene is already pretty fast, but i was wondering if you guys have
experience with using gcj (on linux). how much faster is it for
indexing? personally i have best performance with java-ibm, at least
under linux.
it would be interesting to hear how your experiences are.
thanks i
Hi Erlend,
In my case "text" is everything. Whenever I add anything to the index, I
also add a "text" Field. So in your case, I would build the index like
you did with an additional
doc.add(Field.Text("text", bean.getCompanyName()));
after each addition.
If you then search, the "text" will g
Erlend,
try this code:
QueryParser q = new QueryParser("text", analyzer);
q.setOperator(QueryParser.DEFAULT_OPERATOR_AND);
Query query = q.parse(search);
Hits hits = isearcher.search(query);
Best,
Martin
[EMAIL PROTECTED] wrote:
Hi there!
I'm fairly new to Lucene and trying
ing accents from characters, somebody posted
ISOLatinFilter.java (I think that was the class name) a few months
back.
If you can contribute your Analyzers, that would be great, as we
already have a small set of Analyzers in Lucene's contrib area in SVN.
Otis
--- Martin Rode <[EMAIL P
Hello everybody,
First of congrats for that great piece of software!
I am working on a Europe-wide project, where we have texts on more than
one European language, namely French, German, and English. Having tried
the German and the FrenchAnalyzer both are not satisfying for what I need.
The