Hi David,

This one is a good suggestion. But, if add these *adult* keywords in the
stopwords.txt file, it will be requiring the re-indexing of these keywords
related data.

How can I see the change instantly. Is there any other great suggestion
that you can suggest me.




On Thu, Jul 9, 2015 at 12:09 PM, davidphilip cherian <
davidphilipcher...@gmail.com> wrote:

> The best bet is to use solr.StopFilterFactory.
> Have all such words added to stopwords.txt and add this filter to your
> analyzer.
>
> Reference links
>
> https://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.StopFilterFactory
>
> https://cwiki.apache.org/confluence/display/solr/Filter+Descriptions#FilterDescriptions-StopFilter
>
> HTH
>
>
> On Thu, Jul 9, 2015 at 11:50 AM, Kamal Kishore Aggarwal <
> kkroyal....@gmail.com> wrote:
>
> > Hi Team,
> >
> > I am currently working with Java-1.7, Solr-4.8.1 with tomcat 7. Is there
> > any feature by which I can refrain the following words to appear in spell
> > suggestion.
> >
> > For example: Somebody searches for sexe, I does not want to show him sex
> as
> > the spell suggestion via solr. How can I stop these type of keywords to
> be
> > shown in suggestion.
> >
> > Any help is appreciated.
> >
> >
> > Regards
> > Kamal Kishore
> > Solr Beginner
> >
>

Reply via email to