Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Solr search - limit to documents that contain ONLY keyword

LEGEND ,
Jun 27, 2012 Jun 27, 2012

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,

^_^

552
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 27, 2012 Jun 27, 2012

I'm going to try to write code that will reduce the contextual searches and "fuzzy" searches.  Anyone have alternative suggestions?  Configuration options?  Anything?

Thank you,

^_^

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 28, 2012 Jun 28, 2012
LATEST

Okay, so that didn't work.  Can anyone help me with configuration options?

^_^

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources