AnsweredAssumed Answered

Lucene query on fields: how to search the beginning only

Question asked by nvir on Feb 11, 2009
Latest reply on Jun 26, 2009 by nvir
Hello,

I have a document which has an attribute which could contains "A B C",
another one could contains "B C A".

Which syntax do I have to use to search with Lucene to get the first one, values starting with "A".

I tried to use @attribute:A[^] (found on http://wiki.alfresco.com/wiki/Review_Of_Full_Text_Search_Query_Syntax (further extensions: so when could we use this ?)).

Greetings

Outcomes