Hello. The data: I have a dataset containing ~500.000 documents. In each document there is an email, a name and an user ID.
The problem: I would like to be able to search in it, but it should be like the "MySQL LIKE". So when a user enters the search term: "carsten", then the query looks like: "name:(carsten) OR name:(carsten*) OR email:(carsten) OR email:(carsten*) OR userid:(carsten) OR userid:(carsten*)" Then it should match: carsten l carsten larsen Carsten Larsen Carsten CARSTEN etc. And when the user enters the term: "carsten l" the query looks like: "name:(carsten l) OR name:(carsten l*) OR email:(carsten l) OR email:(carsten l*) OR userid:(carsten l) OR userid:(carsten l*)" Then it should match: carsten l carsten larsen Carsten Larsen Or written to the MySQL syntax: "... WHERE `name` LIKE 'carsten%' OR `email` LIKE 'carsten%' OR `userid` LIKE 'carsten%'..." I know that I need to use the "solr.LowerCaseTokenizerFactory" on my name and email field, to ensure case insentitive behavior. The problem seems to be the wildcards and the whitespaces. -- View this message in context: http://www.nabble.com/Use-SOLR-like-the-%22MySQL-LIKE%22-tp20554732p20554732.html Sent from the Solr - User mailing list archive at Nabble.com.