We need the rest of your fieldType, it's quite possible
that other parts of it are stripping out the characters
in question. Try looking at the admin/analysis page.

If that doesn't help, please show us the whole fieldType
definition and the results of attaching &debugQuery=on
to the URL.

Best
Erick

On Wed, Feb 15, 2012 at 2:04 PM, Rohit <ro...@in-rev.com> wrote:
> Hi,
>
>
>
> We are using solr version 3.5 to search though Tweets, I am using
> WordDelimiterFactory with the following setting, to be able to search for
> @username or #hashtags
>
>
>
> <filter class="solr.WordDelimiterFilterFactory" generateWordParts="1"
> generateNumberParts="1" catenateWords="1" catenateNumbers="1"
> catenateAll="0" splitOnCaseChange="0" splitOnNumerics="0"
> preserveOriginal="1" handleAsChar="@#"/>
>
>
>
> I saw the following patch but this doesn't seem to be working as I expected,
> am I missing something?
>
>
>
> https://issues.apache.org/jira/browse/SOLR-2059
>
>
>
> But searching for @username is also returning results for just username or
> #hashtag is just returning result for hastag. How can I achieve this?
>
>
>
> Regards,
>
> Rohit
>

Reply via email to