Re: fieldtype for name

2013-01-09 Thread Michael Jones
Brilliant! Thank you! On Wed, Jan 9, 2013 at 1:37 PM, Upayavira wrote: > q=name:(ian paisley)&q.op=AND

Re: fieldtype for name

2013-01-09 Thread Upayavira
Try q=name:(ian paisley)&q.op=AND Does that work better for you? It would also match Ian James Paisley, but not Ian Jackson. Upayavira On Wed, Jan 9, 2013, at 01:30 PM, Michael Jones wrote: > Hi, > > My schema file is here http://pastebin.com/ArY7xVUJ > > Query (name:'ian paisley') returns ~

Re: fieldtype for name

2013-01-09 Thread Michael Jones
Hi, My schema file is here http://pastebin.com/ArY7xVUJ Query (name:'ian paisley') returns ~ 3000 results Query (name:'paisley, ian') returns ~ 250 results - That is how the name is stored, so is returning just the results with that person. I need all variations to return 250 results Query (nam

Re: fieldtype for name

2013-01-09 Thread Otis Gospodnetic
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" wrote: > Also. I'm al

Re: fieldtype for name

2013-01-09 Thread Michael Jones
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 wrote: > Thanks. It isn't n

Re: fieldtype for name

2013-01-09 Thread Michael Jones
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, J

Re: fieldtype for name

2013-01-08 Thread Uwe Reh
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 o

Re: fieldtype for name

2013-01-08 Thread Otis Gospodnetic
Or if synonyms are involved, which they likely aren't in this case. although for name matching I'd think one would want them, perhaps on another copy of the name field to allow strict vs. "nickname" matching. Otis Solr & ElasticSearch Support http://sematext.com/ On Jan 8, 2013 9:35 AM, "Shawn

Re: fieldtype for name

2013-01-08 Thread Shawn Heisey
On 1/8/2013 7:30 AM, Michael Jones wrote: 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 sm

fieldtype for name

2013-01-08 Thread 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'