[TYPO3-Solr] Advanced search with SOLR

Christian Bleicher - DieLobby Werbeagentur Gmbh c.bleicher at die-lobby.de
Fri Jul 27 08:38:46 CEST 2012


Hi,

I'll try it. I think that was the peace of information I needed to go on.

Thanks
Christian

Am 26.07.2012 23:10, schrieb Jigal van Hemert:
> Hi,
>
> On 26-7-2012 14:13, Christian Bleicher - DieLobby Werbeagentur Gmbh
> wrote:
>> Is there a way to implement a fuzzy search? It would be ok if it works
>> like a mysql query like '%Regensb%'.
>
> You could define a fieldType in schema.xml which also indexes parts of
> words. This would include something like:
> <filter class="solr.NGramFilterFactory" minGramSize="3"
> maxGramSize="15"/>
> (this indexes parts of words of 3-15 characters)
>
> If you search on the web you can find lots of documentation and
> examples for this NGramFilterFactory.
>
> You can create an extra field in the solr index which contains
> information from a number of TYPO3 fields. If you use that field in
> your advanced search strings like "gensb", "egen", "gen", etc. will
> all match "Regensberg".
>




More information about the TYPO3-project-solr mailing list