Phonetic search on multiple fields

2014-02-12 Thread Navaa
Hi, 
I am beginner of solr, 
I am trying to implement phonetic search in my application 
my code in schema.xml for fieldType 

 
 
 
 
 
 
 

 
 
 
 
 
 

And  

 
 
 

 
 
 

 
 

 
 
 
 
 
 



AND field definition 

 
 
 


when I am search stephen, stifn will gives me stephen but it wont works... 
Also if how can I use phonetic filter with DoubleMetaphone encoder.. 
Please help me 
Thanks in Advance. 



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Phonetic-search-on-multiple-fields-tp4116876.html
Sent from the Solr - User mailing list archive at Nabble.com.


Searching phonetic by DoubleMetaphone soundex encoder

2014-02-12 Thread Navaa
Hi,
I am using solr for searching phoneticly equivalent string
my schema contains...




 




 

 

and fields are



   


it works when i search stfn===> stephen, stephn 

But I am expecting stephn=> stephen like 
How I will get this result. m I doing something wrong

Thanks in advance



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Searching-phonetic-by-DoubleMetaphone-soundex-encoder-tp4116885.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Searching phonetic by DoubleMetaphone soundex encoder

2014-02-12 Thread Navaa
hi,
Thanks for your reply..

I m beginner of solr kindly elaborate it mor details because in my
solrconfig.xml


 
   explicit
   5
   name
  
 
  
  
  
  
  
  
  
  
  

true
json
true

  

where I can add this qf parameter for those two fields...
hope you will understand the scenario..
Thanks in advance 



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Searching-phonetic-by-DoubleMetaphone-soundex-encoder-tp4116885p4117073.html
Sent from the Solr - User mailing list archive at Nabble.com.


Converting solrdocument response into pojo

2014-02-20 Thread Navaa
hi,
I m using solr for searching... here I used for search names on the basis of
their locations
so i get response in docs list containing solrdocument like

response = {docs =[{SolrDocument[name="abcd"
id=[6,6,],..},{SolrDocument[name="xyz" id=435,..},]}

at the time of getting this type of response into
response.getBeans(Pojo.class)

it throws exception to id field..*id=[6,6]*. my pojo is 
class Pojo{
   @field("name")
   private String name;
  
   @field("id")
   private Integer id;
   .
   .
   .
}

So how can I resolve this exceptionplease help me ASAP... Thanks in
advance



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Converting-solrdocument-response-into-pojo-tp4118743.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Converting solrdocument response into pojo

2014-02-24 Thread Navaa
Thank you Alexander for your reply.

Here I am posting my schema definition


 
  


But I am not able to resolve this issue please tell me where I am going
wrong. 




--
View this message in context: 
http://lucene.472066.n3.nabble.com/Converting-solrdocument-response-into-pojo-tp4118743p4119205.html
Sent from the Solr - User mailing list archive at Nabble.com.