Partial search in overview engines

Our current search in an overview engine delivers this query in Solr

q=*&start=0&fq=InvSt1.Allgemeines.Bezeichnung_KEY:“Smita+DV2+Sondervermogen”&fq=-Cockpit.IsBackup_KEY:“true”&fq=model_name_KEY:(InvStG51Feststellung_1+OR+InvStG51FeststellungUebersicht_1+OR+InvStG51Feststellung_2+OR+InvStG51Feststellung_3)&sort=created_at_DOUBLE_SORT+desc,docRef+asc&rows=10&wt=javabin&version=2} hits=6 status=0 QTime=0

It finds all the entries that have this name in the appropriate field.
I then added two annotations to this field “InvSt1.Allgemeines.Bezeichnung”:

“enable_case_insensitive_search”: “true”
“enable_approximate_match_search”: “true”

Not only do partial searches not find any entries, using the full name of the document, as above doesn’t find the appropriate document either. The Solar query is:

q=*&start=0&fq=InvSt1.Allgemeines.Bezeichnung_APPROXIMATE_MATCH:“Beowulf+Sondervermogen”&fq=-Cockpit.IsBackup_KEY:“true”&fq=model_name_KEY:(InvStG51Feststellung_1+OR+InvStG51FeststellungUebersicht_1+OR+InvStG51Feststellung_2+OR+InvStG51Feststellung_3)&sort=created_at_DOUBLE_SORT+desc,docRef+asc&rows=10&wt=javabin&version=2} hits=0 status=0 QTime=0

Can anyone assist me in this regard?

Hi @jasper-silent-root ,

The problem with the second query is that it has a space between Beowulf and Sondervermogen only exact matches allow searching for terms that contain white spaces. All other searches (full text, approximate) must not contain the white space so I would assume that if you search for Beowulf or alternatively for Sondervermogen you will get results. Also please be aware that Solr queries are not A12 APIs therefore not everything in the Solr APIs is supported from A12 and DS is also doing some pre and post processing therefore please use LIST_DOCUMENTS query API.

This answer is valid for DS 32.0.0 - 36.0.0