-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Erick,
On 3/12/18 1:36 PM, Erick Erickson wrote: > Did you try edismax? Err.... no, and I must admit that it's a lot to take in. Did you have a particular suggestion for how to use it? Thanks, - -chris > On Mon, Mar 12, 2018 at 10:20 AM, Christopher Schultz > <ch...@christopherschultz.net> wrote: All, > > I have a Solr index containing application user information > (username, first/last, etc.). I have created an "all" field for the > purpose of using it as a default. It contains most but not all > fields. > > I recently added phonetic searching for the first and last names > (together in a single field) but it will only work if the query > specifies that field like this: > > chris or phonetic:schultz > > Is there a way to add the phonetic field to the "all" field and > have it searched phonetically alongside the non-phonetic > fields/terms? I see I cannot have multiple "default fields" :) > > I know on the back-end I can construct a query like this: > > all:[query] phonetic:[query] > > ...but I'd prefer to do as little massaging of the query as > possible. > > Thanks, -chris > -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQJRBAEBCAA7FiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAlqmxzEdHGNocmlzQGNo cmlzdG9waGVyc2NodWx0ei5uZXQACgkQHPApP6U8pFiejxAAwYVKaztnIESfGTik W2AVf1b/gOKp4WKzOK4Jg37Qjmguzfm2yPuD38gauP62ph5JPKeWjIAU4JHi/O8Y U5tWO2AuJBC/l7+t++vDTITP1iwFS1c7iXCpaMpZ16Ji3ScuKW5ZV2vMIioLXw6U 9BH5xtgh63D2JUyse89LzNVQULBENZx2uzAz7+q7ne7LYdWSR8949ry0EUOssVX+ HEV1Be2QmmLUVHg1bSsTt678mrqV8EGm8Z1pf7WOBK6OJKA36iRTSxlyboShMP5D 5OnIfUoL+HxwIOnjevAmZU4zDZVllXdBme66xF/WT8+HP3NEWqBMDzcRlO8M1TPe yY9Y0By9cpkIXasm2uVYZzmUy5Hb+CcQOUXKLrvxqkE018+iey49pivr7ne2+W+B m0XF7qha4zPBT3onZNm2iDqNuMbVv1443aaAMNjh/E6RwsEgJ6PKSZjMKxM6QEdj 5Jy6dUGqhkQHgFfEa6srz1XHSbL5vwPyH3WQNv1pIRuvASbdfEinZPNmiPM36iMi itlO9HulZ80/It7aQR9llqt10bEK0vh7CzN7EzI6Yu+st1g/uVHeg8GMupNYd0u0 /1t0NQafKjaf1UTO5ubLN/QiDSA1NYVNHkAczbnNzdHj0Z7sI5l2fkNWWxFzikQi RuYSZRH+EG4C2ey1f8vkxlrwIwE= =lb3e -----END PGP SIGNATURE-----