On 11 July 2012 10:40, Sohail Aboobaker <sabooba...@gmail.com> wrote:
> Hi,
>
> Is there a way to search by providing an example document to solr? We would
> set the fields of the example document to desired filter and ask Solr to
> bring all documents that match this example document. For example, if our
> document contains itemnumber, title, sku, price etc. Is it possible to set
> a document to price=50 and title='xyz' and then search for all documents
> that match this document.

Don't think that's possible, but are you looking for MoreLikeThis:
http://wiki.apache.org/solr/MoreLikeThis

Why would one want the functionality that you describe? If you
know the desired search terms, isn't creating an example document
more onerous than formulating a Solr query?

Regards,
Gora

Reply via email to