Re: Wildcard weirdness

2010-11-05 Thread Ahmet Arslan
> I'm trying to understand what Solr is doing when a search > for O'Connor and > O'Conn* is done. > > The first search returns 4 results, which is fine. I would > expect the second > search to return at least 4 (the same) results, however it > fails to return > any. > > I've debugged the query an

Re: Wildcard weirdness

2010-11-05 Thread Savvas-Andreas Moysidis
strange..my second guess would be that stemming could be the reason but if your analyser(s) emit the same values you use for searching that's odd.. could you post your schema definition for the surname field? On 5 November 2010 17:33, C0re wrote: > > Hi Savvas, > > Thanks for the reply. Yep I'v

Re: Wildcard weirdness

2010-11-05 Thread C0re
Hi Savvas, Thanks for the reply. Yep I've been trying out the Analysis tool. As you say the index does lowercase the terms. Field Name: surname Index Value: O'Connor Query Value: connor The Index Analyzer creates: o connor Which the query value above will match on. However, if the quer

Re: Wildcard weirdness

2010-11-05 Thread Savvas-Andreas Moysidis
One place to start would be the Analysis page http://{your machine}:{port}/solr/admin/analysis.jsp?highlight=on There you can see exactly what happens to your query as it being moved down the Analysis chain. In my knowledge, no analysis is performed on wildcarded terms so my guess would be that th