Re: Fuzzy Logic Implementation

2013-10-15 Thread kumar
Hi

I have 4-different scenarios to get the results as per my requirement. i am
using custom request handlers in the following way.




   query
   debug
  
  
   
   
   
   *,score
   false
   all
   true
  
  
  4
  json

   AND
   fsw_title
   10
   {!edismax v=$s}
   mpId desc,score desc
   city:All OR _query_:"{!field f=city v=$c}"
   mpId:875 OR _query_:"{!field f=mpId v=$mp}"
   true
   mpId
   8
   true
   mpId desc,score desc
   edismax
   false
   fsw_title^30.0 tsw_title^15.0 tf_title^10.0
tsw_keywords^1 keywords^0.5
   fsw_title~1^50.0
   fsw_title~1^25.0
   sum(product(typeId,100),weightage)
   
   AND
   fsw_title
   14
   {!edismax v=$s}
   score desc
   city:All OR _query_:"{!field f=city v=$c}"
   true
   mpId
   4
   true
   mpId desc,score desc
   edismax
   false
   fsw_title^30.0 tsw_title^15.0 tf_title^10.0
tsw_keywords^1 keywords^0.5
   fsw_title~1^50.0
   fsw_title~1^25.0
   sum(product(typeId,100),weightage)
   
  
   AND
   fsw_title
   10
   {!edismax v=$s}
   score desc
   mpId:875 OR _query_:"{!field f=mpId v=$mp}"
   edismax
   false
   fsw_title^30.0 tsw_title^15.0 tf_title^10.0
tsw_keywords^1 keywords^0.5
   fsw_title~1^50.0
   fsw_title~1^25.0
   sum(product(typeId,100),weightage)


   AND
   fsw_title
   14
   {!edismax v=$s}
   score desc
   true
   mpId
   4
   true
   mpId desc,score desc
   edismax
   false
   fsw_title^30.0 tsw_title^15.0 tf_title^10.0
tsw_keywords^1 keywords^0.5
   fsw_title~1^50.0
   fsw_title~1^25.0
   sum(product(typeId,100),weightage)





can you please give me some idea how to configure spell check for the above
configuration.

 



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Fuzzy-Logic-Implementation-tp4095644p4095768.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Fuzzy Logic Implementation

2013-10-15 Thread Developer
Use the spell check component with collation..

Example:

http://localhost:8983/solr/spell?q=delll
ultrashar&spellcheck=true&spellcheck.extendedResults=true&spellcheck.collate=true

http://wiki.apache.org/solr/SpellCheckComponent






--
View this message in context: 
http://lucene.472066.n3.nabble.com/Fuzzy-Logic-Implementation-tp4095644p4095738.html
Sent from the Solr - User mailing list archive at Nabble.com.