Re: query performance with leading *

2012-02-13 Thread G.Long
Thank you for the tips, Is there an analyzer which uses this tokenizer? If not, do you know any tutorial which explain how to implement a custom analyzer? I didn't find any. Regards. Le 13/02/2012 17:46, Robert Muir a écrit : I think you can solve this with the tokenizers in the org.apache.

Re: query performance with leading *

2012-02-13 Thread Robert Muir
I think you can solve this with the tokenizers in the org.apache.lucene.analysis.path package (in lucene-analyzers.jar) In your case, looks like ReversePathHierarchyTokenizer might be what you want, though you will need to upgrade to at least 3.2 to get it. On Mon, Feb 13, 2012 at 11:38 AM, G.Lon

RE: query performance with leading *

2012-02-13 Thread Austin, Carl
@lucene.apache.org Subject: query performance with leading * Hi, Is there a way to improve query performance when using a leading * as a wildcard on a path property? I have hundreds of queries to run on a lucene index (~250mo). Executing those queries without the leading * is about 5x faster than with

query performance with leading *

2012-02-13 Thread G.Long
Hi, Is there a way to improve query performance when using a leading * as a wildcard on a path property? I have hundreds of queries to run on a lucene index (~250mo). Executing those queries without the leading * is about 5x faster than with the leading *. My problem is that I sometimes need