Skip navigation
Currently Being Moderated

Solr search - limit to documents that contain ONLY keyword

Jun 27, 2012 11:49 AM

Tags: #cfsearch #solr #type="explicit" #unknown_handler_explicit

Hello, everyone.

 

Is there a way to either configure the Solr collection, or CF code to use, that will limit the search to return only documents that contain the keyword, and NOT documents that may be contextually related?

 

For example, if a user enters a keyword of "pets", return a list of documents (PDFs) that contain ONLY the word "pets" (not "pet", not "petroleum", not "petty", etc.)  The client wants only documents with specific keywords, only.

 

I've tried using type="explicit" in the CFSEARCH tag, but no matter what type I set it to CF Server 9.0.1 stops with the message "error executing query:unknown_handler_explicit".

 

I know that the contextual search is what makes Solr so robust.  Is there a way to override contextual searching?

 

Thanks,

 

^_^

 
Replies

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points