lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Octavian Covalschi <>
Subject Keywords/terms mutual exclusion
Date Tue, 05 Apr 2011 20:05:57 GMT
Hi there,

I'm trying to use Solr in one of my projects and I've got a small problem
that I can't figure out.

Basically our application is collecting data submitted by users. Now the
problem is that submitted data may contain some incorrect info, like some
keywords that will mess up search results. A simple example:

I've got an article about a pair of glasses. The title of the page where
that product is located contains also "shoes" keyword, which is irrelevant
to glasses but relevant to that entire website. So, basically in this case I
need to exclude "shoes" when I have "glasses" keyword. We're using page's
title and other content to generate some keywords. If I'm searching "women
shoes" or even "shoes"  I'll get those glasses as well, which is not what I

Does it make any sense? Maybe someone has any idea? Or had similar problems
and found a decent solution? It looks to me I need a list of ignored
keywords for some terms, incompatible keywords from semantic point of view,
but I'm not sure if that's the best way to do... even so, I'm not sure how
to make blacklisted terms for other terms.

Thank you in advance.

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