Oh, duh! Of course it is. I've done that before.
Thanks Daniel.
John G.
-Original Message-
From: Daniel Naber [mailto:[EMAIL PROTECTED]
Sent: Friday, November 23, 2007 5:52 PM
To: java-user@lucene.apache.org
Subject: Re: Explanation
On Samstag, 24. November 2007, John Griffin wrote:
>
Hello,
I am trying to use FuzzyLikeThisQuery to search my help system and
show set of help entries for user selected Help topic. For any selected Help
topic, System needs to display all related topics. This works somehow, but if
query contains generic terms then result returned by Fu
On Samstag, 24. November 2007, John Griffin wrote:
> System.out.println(indexSearcher.explain(query,
> counter).toString());
I think you need to use hits.id() instead of counter.
Regards
Daniel
--
http://www.danielnaber.de
-
Is there a problem with the term frequency count (tf) and the
IndexSearcher.explain method? I'm searching the following string (fieldname
is description) for the term 'salesman' and receive the accompanying
explanation from IndexSearcher.explain(.). I've highlighted salesman.
score => 0.3362463
Hi,
I am using TopDocCollector in IndexerSearher.search(...) for get the
BitSet of result, but I need of sort the result by two variable: by
any term of document and by score. Is possible do it using Collector ?
Have any form of use the method search(..., sort) and after get the
BitSet of re
On 23/11/2007, Liaqat Ali <[EMAIL PROTECTED]> wrote:
> *Can not find symbol: method Text (java.lang.String, java.lang.String)
> location: class org.apache.lucene.document.Field
> document.add(Field.Text("fieldname", text));
> *
If you're using Lucene 2.x.x, the static methods of the Field class
I m facing problem while using a small indexing example;
IndexWriter writer =
new IndexWriter(indexDir, analyzer, createFlag);
Document document = new Document();
document.add(Field.Text("fieldname", text));
writer.addDocument(document)
Seems your ask if to remove accents before or after stemming.
Here is a discussion on similar question (for Spanish) -
http://www.nabble.com/Snowball-and-accents-filter...--tf3653720.html#a10207399
Hope this helps,
Doron
Christian Aschoff <[EMAIL PROTECTED]> wrote on 22/11/2007
21:27:20:
> Hell
Copy the current Standard Analyzer and add '-' to the definition of a
LETTER. You might work with the StandardAnazlyer on the trunk which uses
JFlex rather than the current JavaCC flavor...the new one is something
like 6-10 times faster.
- Mark
Shakti_Sareen wrote:
Hi
Can anyone help me wi
Hi
Can anyone help me with a code having a class which extends the
StandardAnalyzer and that analyzer should not tokenize the word across
hyphen
SHAKTI SAREEN
-Original Message-
From: Shai Erera [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 22, 2007 9:53 PM
To: java-user@lucene.
Hi,
I thought about appending a * at the end of each word like *. I did
not like the idea and it becomes cumbersome when using the complex
QueryParser syntax.
I also investigated the option of overriding the getFieldQuery via
inheritance, but I doubt it works at the method does more than just ret
11 matches
Mail list logo