Re: Using SOLR to search for Names from RDBMS

2017-03-02 Thread Alexandre Rafalovitch
You would absolutely want to read "Relevant Search" book first. It is based on Elasticsearch examples, but the concepts map to Solr (and there is an appendix). (The following is mostly for names, phone numbers, don't know about addresses) The core issue is that you will want to setup a bunch of c

Re: using Solr to search for names

2012-07-22 Thread Alireza Salimi
It's almost what I've been doing, but I didn't write my own filter, I used SynonymFilterFactory. Thanks On Sun, Jul 22, 2012 at 12:45 PM, Roman Chyla wrote: > Or for names that are more involved, you can use special > tokenizer/filter chain and index different variants of the name into > one in

Re: using Solr to search for names

2012-07-22 Thread Roman Chyla
Or for names that are more involved, you can use special tokenizer/filter chain and index different variants of the name into one index example: https://github.com/romanchyla/montysolr/blob/solr-trunk/contrib/adsabs/src/java/org/apache/lucene/analysis/synonym/AuthorSynonymFilter.java roman On S

Re: using Solr to search for names

2012-07-22 Thread Alireza Salimi
Hi Ahmet, Thanks for the reply, Yes, actually after I posted the first question, I found that edismax is very helpful in this use case. There is another problem which is about hyphens in the search query. I guess I need to post it in another email. Thank you very much On Sun, Jul 22, 2012 at 3:

Re: using Solr to search for names

2012-07-22 Thread Ahmet Arslan
> So here is the problem, I have a requirement to implement > search by a > person name. > Names consist of > - first name > - middle name > - last name > - nickname > > there is a list of synonyms which should be applied just for > first name and > middle name. > > In search, all fields should