Thank you Robert and Hongyinjie for your support.
I managed to solved my problem. It was simply a wrong application
configuration. I am using PerFieldAnalyzerWrapper, with analysers
injected via Spring. A stupid line inversion in a Spring application
context file that didn't hurd during sev
use "TokenStream" to print out the Tokens after using FrenchAnalyzer; test it
work well, and the result is just you want?
You can use another tools "Luke" to see the "Lucene index File", is there any
token of "or"(French) ?
And you can query using the "Luke"...
Good Luck
2011-01-13
Thank you for your reply.
I am using my own FrenchAnalyzer for lexical analysis. It extends
org.apache.lucene.analysis.Analyzer and my stopwords set is empty.
Benoit
On 2011-01-12 23:05, Robert Muir wrote:
On Wed, Jan 12, 2011 at 10:38 PM, Benoit Mercier
wrote:
Hi,
I am happily using Lu
On Wed, Jan 12, 2011 at 10:38 PM, Benoit Mercier
wrote:
> Hi,
>
> I am happily using Lucene for several years to offer French lexical analysis
> tools to university researchers. Today, one of them decided to analyze the
> use of the French word "or" (meaning "gold" in French) in one of my corpus