sunspot - solr - How to do Exact match

Viewed 1566
articles = Article.search do |s|
    s.fulltext "Java Script"
end

How do i tell sunspot like give me all the results which exactly matches "Java Script" Right now am getting results like "Java, Unix Scripting" (I think its the edge n gram which i am using for stemming takes this scripting results)

I found a couple of questions in stack overflow . unfortunately, no body answered the way i want. Hence i am posting this question here. I request the moderators not to mark it as duplicate

1 Answers
Related