lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pedro Figueiredo <pjlfigueir...@criticalsoftware.com>
Subject RE: search by person name
Date Mon, 20 Apr 2015 17:09:16 GMT
Hi Steve,

Thanks, it works! 
I will analyse in detail your solution because I never used the syntax using ().

Best regards,

Pedro Figueiredo
Senior Engineer

pjlfigueiredo@criticalsoftware.com
M. 934058150
 

Rua Engº Frederico Ulrich, nº 2650 4470-605 Moreira da Maia, Portugal
T. +351 229 446 927 | F. +351 229 446 929
www.criticalsoftware.com

PORTUGAL | UK | GERMANY | USA | BRAZIL | MOZAMBIQUE | ANGOLA
A CMMI® LEVEL 5 RATED COMPANY CMMI® is registered in the USPTO by CMU"
 


-----Original Message-----
From: Steven White [mailto:swhite4141@gmail.com] 
Sent: 20 de abril de 2015 17:39
To: solr-user@lucene.apache.org
Subject: Re: search by person name

Why not just use q=name:(ana jose) ?  Than missing words or words order won't matter.  No?

Steve

On Mon, Apr 20, 2015 at 12:26 PM, Erick Erickson <erickerickson@gmail.com>
wrote:

> First, a little patience on your part please, we're all volunteers here.
>
> Second, what have you done to try to analyze the problem? Have you 
> tried adding &debgu=query to to your URL? Looked at the analysis page?
> Anything else?
>
> You might review: http://wiki.apache.org/solr/UsingMailingLists
>
> My guess (and Rafal provided you a strong clue if my guess is right) 
> is that by enclosing "ana jose" in quotes you've created a phrase 
> query that requires the two words to be right next to each other and 
> they have "maria" between them. Using "slop", i.e. "ana jose"~2 should 
> find the doc if I'm correct.
>
> Best,
> Erick
>
> On Mon, Apr 20, 2015 at 7:41 AM, Pedro Figueiredo 
> <pjlfigueiredo@criticalsoftware.com> wrote:
> > Any help please?
> >
> > PF
> >
> > -----Original Message-----
> > From: Pedro Figueiredo [mailto:pjlfigueiredo@criticalsoftware.com]
> > Sent: 20 de abril de 2015 14:19
> > To: solr-user@lucene.apache.org
> > Subject: RE: search by person name
> >
> > yes
> >
> > Pedro Figueiredo
> > Senior Engineer
> >
> > pjlfigueiredo@criticalsoftware.com
> > M. 934058150
> >
> >
> > Rua Engº Frederico Ulrich, nº 2650 4470-605 Moreira da Maia, 
> > Portugal T. +351
> 229 446 927 | F. +351 229 446 929 www.criticalsoftware.com
> >
> > PORTUGAL | UK | GERMANY | USA | BRAZIL | MOZAMBIQUE | ANGOLA A CMMI®
> LEVEL 5 RATED COMPANY CMMI® is registered in the USPTO by CMU"
> >
> >
> >
> > -----Original Message-----
> > From: Rafal Kuc [mailto:rafal@alud.com.pl]
> > Sent: 20 de abril de 2015 14:10
> > To: solr-user@lucene.apache.org
> > Subject: Re: search by person name
> >
> > Hello,
> >
> > How does you query look like? Do you use phrase query, like 
> > q=name:"ana
> jose" ?
> >
> > ---
> > Regards,
> > Rafał Kuć
> >
> >
> >
> >
> >> Wiadomość napisana przez Pedro Figueiredo <
> pjlfigueiredo@criticalsoftware.com> w dniu 20 kwi 2015, o godz. 15:06:
> >>
> >> Hi all,
> >>
> >> Can anyone advise the tokens and filters to use, for the most 
> >> common
> way to search by people’s names.
> >> The basics requirements are:
> >>
> >> For field name – “Ana Maria José”
> >> The following search’s should return the example:
> >> 1.       “Ana”
> >> 2.       “Maria”
> >> 3.       “Jose”
> >> 4.       “ana maria”
> >> 5.       “ana jose”
> >>
> >> With the following configuration I’m not able to satisfy all the
> searches (namely the last one….):
> >> <tokenizer class="solr.WhitespaceTokenizerFactory"/>
> >> <filter class="solr.ASCIIFoldingFilterFactory"/>
> >> <filter class="solr.LowerCaseFilterFactory"/>
> >>
> >> Thanks in advanced,
> >>
> >> Pedro Figueiredo
> >> Senior Engineer
> >>
> >> pjlfigueiredo@criticalsoftware.com
> >> <mailto:pjlfigueiredo@criticalsoftware.com>
> >> M. 934058150
> >>
> >>
> >> Rua Engº Frederico Ulrich, nº 2650 4470-605 Moreira da Maia, 
> >> Portugal T. +351 229 446 927 | F. +351 229 446 929 
> >> www.criticalsoftware.com <http://www.criticalsoftware.com/>
> >>
> >> PORTUGAL | UK | GERMANY | USA | BRAZIL | MOZAMBIQUE | ANGOLA A 
> >> CMMI® LEVEL 5 RATED COMPANY  <http://cmmiinstitute.com/>CMMI® is 
> >> registered
> in the USPTO by CMU <http://www.cmu.edu/>"
> >
> >
>


Mime
View raw message