lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "abdul muhaimin" <>
Subject Re: add word filtering?
Date Tue, 28 Mar 2006 04:48:35 GMT
No. I'm sorry I didn't convey my question very well. Anyway thanks a lot for
the info.

What I really meant is, I want to filter out some words like for example,
"violence" & "hatred" from the search engine results. Consequently lucene
will display some alternative results for the above attempted search, such
as "Peace to the world." instead of the searched "violence".

How can I do it?

On 3/27/06, Satuluri, Venu_Madhav <> wrote:
> Are you asking that common words not be searched? For this, you can use
> StopFilter to prevent words from being indexed and searched.
> Alternatively, you can use StandardAnalyzer, which in addition to
> removing stop words also does more sophisticated tokenizing.
> Venu
> -----Original Message-----
> From: abdul muhaimin []
> Sent: Monday, March 27, 2006 3:13 PM
> To:
> Subject: add word filtering?
> Hi all
> I'm really new to lucene. In fact I just found it when i googled a few
> days
> ago. Never thought that java have this kind of excellent library for
> free.
> I would like to ask a few questions, which is where to add if we would
> like
> to filter certain text from being searched, and filter certain results
> from
> being displayed, or display alternative result for filtered results when
> we're using lucent? Instead of just editing the resutls .jsp page (from
> the
> demo) is there any better way?
> Any information is greatly appreciated.
> Thanks in advance
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message