Re: Implementing partial search and exact matching

2016-05-05 Thread Lasitha Wattaladeniya
Hi Nick, Thanks for the reply. Actually q="software engineering" - > doc1 q="software engineer" - > no results q="Software engineer" - > doc2 I hope above test cases will explain my requirements further. So far I'm thinking of changing the qf according to query has enclosing double quotations

Re: Implementing partial search and exact matching

2016-05-05 Thread ND
Lasitha, I think I understand what you are asking and if you have something like Doc1 = software engineering Doc2 = Software engineer And if you query q=software+engineer -> Doc1 & Doc2 but q="software+engineer" -> Doc1 Correct? If this is correct then to my knowledge no, Solr out of the box

Re: Implementing partial search and exact matching

2016-05-05 Thread Lasitha Wattaladeniya
Hi nd, Here's the issue.. Let's say I search.. Software Engineer. For am example lets say this query will return 10 results when search against ngram field . Now I search "Software Engineer" with double quotations. This should not return same result set as the previous query. I thought the

Re: Implementing partial search and exact matching

2016-05-05 Thread ND
We implemented something similar it sounds to what you are asking but I dont see why you would need to match the original field. Since technically a field that has *software engineer* indexed is matched by a query like "software eng" to "software engineer" with the ngrams; which makes the

Implementing partial search and exact matching

2016-05-05 Thread Lasitha Wattaladeniya
Hi All, I'm trying to implement a search functionality using solr. Currently I'm suing edismax parser with ngram fields to do the search against. So far it works well. The question I have is when the user input double quotations to the search, As the requirement this should match against the