Re: Search with the start of field

2016-09-21 Thread Mahmoud Almokadem
v > > Sent: Wednesday 21st September 2016 9:24 > > To: solr-user > > Subject: Re: Search with the start of field > > > > You can experiment with {!xmlparser}.. see > > https://cwiki.apache.org/confluence/display/solr/Other+ > Parsers#OtherParsers-XMLQ

RE: Search with the start of field

2016-09-21 Thread Markus Jelsma
> Sent: Wednesday 21st September 2016 9:24 > To: solr-user > Subject: Re: Search with the start of field > > You can experiment with {!xmlparser}.. see > https://cwiki.apache.org/confluence/display/solr/Other+Parsers#OtherParsers-XMLQueryParser > > On Wed, Sep 21, 20

Re: Search with the start of field

2016-09-21 Thread Jan Høydahl
You could do a hack with the field type similar to this text_lower_exact type: https://github.com/cominvent/exactmatch/blob/master/conf/schema.xml But if you only do the hack on the “index” side of analysis, you are free to do

Re: Search with the start of field

2016-09-21 Thread Mikhail Khludnev
You can experiment with {!xmlparser}.. see https://cwiki.apache.org/confluence/display/solr/Other+Parsers#OtherParsers-XMLQueryParser On Wed, Sep 21, 2016 at 9:06 AM, Mahmoud Almokadem wrote: > Hello, > > What is the best way to search with the start token of field? > > For example: the field co

Re: Search with the start of field

2016-09-20 Thread William Bell
Show us the FieldType and Field definitions. On Wed, Sep 21, 2016 at 12:06 AM, Mahmoud Almokadem 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 sear

Search with the start of field

2016-09-20 Thread Mahmoud Almokadem
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