lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bbarani <>
Subject Answer engine - NLP related question
Date Mon, 04 May 2015 16:52:22 GMT

Note: I have very basic knowledge on NLP..

I am working on an answer engine prototype where when the user enters a
keyword and searches for it we show them the answer corresponding to that
keyword (rather than displaying multiple documents that match the keyword)

For Ex: 

When user searches for 'activate phone', we have answerTags tagged in the
SOLR documents along with answer field (that will be displayed as answer for
this keyword). 

<arr name="answerTags">
<str>activate phone</str>

<str name="answers">
This is the answer

This works fine when user searches for the exact keyword tagged in the
'answerTag' field.

Now I am trying to figure out a way to match keywords based on position of
speech too.


I want 

'how to activate phone' to match 'activate phone' in answerTags field 
'how to activate' to match 'activate' in answerTags field 

I dont want to add all possible combinations of search keywords in
answerTags... rather match is based on position of speech and other NLP

I am trying to figure out a way to standardize the keywords (may be using
NLP) and map it to predefined keywords (may be rule based NLP?). I am not
sure how to proceed with these kinds of searches.. Any insight is

View this message in context:
Sent from the Solr - User mailing list archive at

View raw message