You can experiment with {!xmlparser}<SpanFirst>.. see https://cwiki.apache.org/confluence/display/solr/Other+Parsers#OtherParsers-XMLQueryParser
On Wed, Sep 21, 2016 at 9:06 AM, Mahmoud Almokadem <prog.mahm...@gmail.com> wrote: > Hello, > > What is the best way to search with the start token of field? > > For example: the field contains these values > > Document1: ABC DEF GHI > Document2: DEF GHI JKL > > when I search with DEF, I want to get Document2 only. Is that possible? > > Thanks, > Mahmoud > > -- Sincerely yours Mikhail Khludnev