Ok, I get it now, it's because the field has been indexed as tokens. So maybe I should use a field which does not have a tokenizer index? I'll try something like that. Thanks
On Mon, Apr 17, 2017 at 9:16 PM, OTH <omer.t....@gmail.com> wrote: > The field type is "text_general". > > On Mon, Apr 17, 2017 at 7:15 PM, Binoy Dalal <binoydala...@gmail.com> > wrote: > >> I think it returns everything because your query matches *san or " *". >> What is your field type definition? >> >> On Mon 17 Apr, 2017, 19:12 OTH, <omer.t....@gmail.com> wrote: >> >> > If I submit the query: >> > "select?q=field:*san*" >> > Then it works as expected; returning all values in the field which >> contain >> > the string "san". >> > >> > However if I submit: >> > "select?q=field:*san *" >> > It then seems to return all the values of the field, regardless of what >> the >> > value is (!) >> > >> > I only wish in this case to get the values which contain the string >> "san ", >> > but I'm unable to achieve that. >> > >> > Thanks >> > >> -- >> Regards, >> Binoy Dalal >> > >