lucene - Solr query command behaving strange and not according to doc -


i"m trying search field , have trouble getting work. i'm using locally installed solr 5.2.1 , imported bunch of articles json, here's example of 1 such object:

{     "title": [         "jessica breen - yorkshire , humber group"     ],     "description": [         "to long fit here"     ],     "link": [         "http://www.soci.org/news/volunteers/jessica-breen"     ],     "date": [         "2015-07-10t10:10:51z"     ],     "source": [         "559f9258adeba7381fd56bbe"     ],     "id": "93afc349-5bb2-41e2-a95f-e0894ecaf223",     "_version_": 1506854794016325600 } 

and i'm trying search title , i'm basing knowledge on docs , tutorial. these queries find article:

breen jessica breen "jessica breen" 

but search in title , description fields while want search title. tried these unsuccessfully:

title:breen title:"breen" title:"jessica breen" 

do have ideas why search queries wouldn't work should?

as have mentioned using default schema basic_configs.

it has fieldtype string field title , work if query "jessica breen" , not in case of "breen" strfield type not analyzed.

so n case need change fieldtype field title. change field type of title text_ws or text_general

<field name="title" type="text_ws" indexed="true" stored="true"/> 

Comments