lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rohit" <ro...@in-rev.com>
Subject RE: Search for hashtags and mentions
Date Thu, 16 Feb 2012 05:06:03 GMT
Go the problem, I need to user "types=" parameter to ignore character like #,@ in WordDelimiterFilterFactory
factory.

Regards,
Rohit
Mobile: +91-9901768202
About Me: http://about.me/rohitg

-----Original Message-----
From: Robert Muir [mailto:rcmuir@gmail.com] 
Sent: 16 February 2012 06:22
To: solr-user@lucene.apache.org
Subject: Re: Search for hashtags and mentions

On Wed, Feb 15, 2012 at 2:04 PM, Rohit <rohit@in-rev.com> wrote:
> <filter class="solr.WordDelimiterFilterFactory" generateWordParts="1"
> generateNumberParts="1" catenateWords="1" catenateNumbers="1"
> catenateAll="0" splitOnCaseChange="0" splitOnNumerics="0"
> preserveOriginal="1" handleAsChar="@#"/>

There is no such parameter as 'handleAsChar'. If you want to do this,
you need to use a custom types file.

http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.WordDelimiterFilterFactory

-- 
lucidimagination.com


Mime
View raw message