Hi
Sorry about doubble messaging, it was from mistake
I am working on an application that searches documents with lucene.
The documents are taken from a database and the basic field is in HTML.
The index and searching works fine with Greek characters. I am using
the lucene to take the ID a
You should be using the same analyzer when you query as when you built
the index. I suspect that in this case you need to make an analyzer
that recognises both English and Greek.
I hope this helps,
Eleanor Joslin
[EMAIL PROTECTED] wrote:
Hello
i am having the following code to high
Because there are no matches? Have you checked your index, etc? Do
you get matches for that query normally in Greek against your index
(nevermind highlighting)? Are your analyzers the same? Are your
English Fields stored and the Greek ones not? Does field "f" contain
Greek? It could b
Hello
i am having the following code to highlight a text
public String highlight(String text, String query ) throws IOException {
TermQuery query = new TermQuery(new Term("f", query));
QueryScorer scorer = new QueryScorer(query);
SimpleHTMLFormatter formatter =
new SimpleHTMLForm