Hi, Without seeing the configs I would guess default query operator might be OR (and check docs for mm parameter on the Wiki) or there are ngrams involved. Former is more likely.
Otis Solr & ElasticSearch Support http://sematext.com/ On Jan 9, 2013 6:16 AM, "Michael Jones" <michaelj...@gmail.com> wrote: > Also. I'm allowing users to do enter a name with quotes to search for an > exact name. So at the moment only "smith, robert" will return any results > where *robert smith* will return all variations including 'smith, herbert' > > > On Wed, Jan 9, 2013 at 11:09 AM, Michael Jones <michaelj...@gmail.com > >wrote: > > > Thanks. It isn't necessarily the need to match 'dick' to 'robert' but to > > search for: > > 'name surname' > > name, surname' > > 'surname name' > > 'surname, name' > > > > And nothing else, I don't need to worry about nick names or abbreviations > > of a name, just the above variations. I think I might use text_ws. > > > > > > On Tue, Jan 8, 2013 at 9:39 PM, Uwe Reh <r...@hebis.uni-frankfurt.de > >wrote: > > > >> Hi Michael, > >> > >> in our index ob bibliographic metadata, we see the need for at least > tree > >> fields: > >> - name_facet: String as type, because the facet should should represent > >> the original inverted format from our data. > >> - name: TextField for searching. This field is heavily analyzed to match > >> different orders, to match synonyms, phonetic similarity, German umlauts > >> and other European stuff. > >> - name_lc: TextField. This field is just mapped to lower case. It's used > >> to boost docs with the same style of writing like the users input. > >> > >> Uwe > >> > >> Am 08.01.2013 15:30, schrieb Michael Jones: > >> > >> Hi, > >>> > >>> What would be the best fieldtype for a persons name? at the moment I'm > >>> using text_general but, if I search for bob smith, some results I get > >>> back > >>> might be rob thomas. In that it's matched 'ob'. > >>> > >>> But I only really want results that are either > >>> > >>> 'bob smith' > >>> 'bob, smith' > >>> 'smith, bob' > >>> 'smith bob' > >>> > >>> Thanks > >>> > >>> > >> > > >