Hi, This is the lucene list, rather than the solr list - you probably want to take questions to solr-u...@lucene.apache.org
In this case, you need to surround your query with quotation marks. You’re ending up here with an OR query, searching for ‘hoang’ in cdyt_patient_name, and then ‘bang’ in the default field, and it’s the latter that’s giving you a hit on this document. Alan Woodward www.flax.co.uk > On 24 Apr 2017, at 10:22, Le Dang Tuan <ledangtua...@gmail.com> wrote: > > Dear Team. > My Name is Tuan from Vietnam. > > Currently I am using solr to search in my application. > > I stored some data in solr and implement search, but the result is not as > expected. > > I Searched "hoang bang" in field "cdyt_patient_name" but show result with > text "Trang" > > See my attachment for more detail. > > I'm using Solr 6.3.0 > > Please help me resolve this issue. > > Thank you > > > -- > Lê Đăng Tuấn > School of Electronics and Telecommunications. > Hanoi University of Science and Technology. > No1, Dai Co Viet street, Hai Ba Trung District, Ha Noi > Mobile: 0982.938.146 > Email: ledangtua...@gmail.com <mailto:ledangtua...@gmail.com> > > <Capture.PNG> > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org > For additional commands, e-mail: dev-h...@lucene.apache.org