Re: Multi Language Suggester Solr Issue

2014-12-28 Thread Michael Sokolov
 for the Arabic. Any help from you will be highly appreciated.



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Multi-Language-Suggester-Solr-Issue-tp4176075.html
Sent from the Solr - User mailing list archive at Nabble.com.




Re: Multi Language Suggester Solr Issue

2014-12-28 Thread alaa.abuzaghleh
thanks it is work for me 



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Multi-Language-Suggester-Solr-Issue-tp4176075p4176324.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Multi Language Suggester Solr Issue

2014-12-25 Thread Tomoko Uchida
It's interesting results...
I'm not a Unicode specialist, but Japanese query cannot match Arabic
documents if both of them correctly encoded.

I cannot recommend such use case, single field for all languages,
but maybe you should check indexed (analyzed) tokens for inspection, not
stored data.
Are there any CharFilters / TokenFilters that change (or corrupt) tokens
unexpectedly?

Thanks,
Tomoko


Re: Multi Language Suggester Solr Issue

2014-12-25 Thread alaa.abuzaghleh
}]
  }},
{
  groupValue:ね,
  doclist:{numFound:1,start:0,docs:[
  {
job_tree:システムアナリスト,
last_name:シャン,
state:Tokyo,
country:Japan,
city:Tokyo,
id:4fdce27b-3a9b-4045-85f3-2d5087d97b50,
company:日立,
full_name:すね シャン,
first_name:すね}]
  }}]}}}
 I think it is problem in my suggester configuration, or the schema type.
not sure 



ّ



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Multi-Language-Suggester-Solr-Issue-tp4176075p4176126.html
Sent from the Solr - User mailing list archive at Nabble.com.


Multi Language Suggester Solr Issue

2014-12-24 Thread alaa.abuzaghleh

and this is my SolrConfig

?xml version=1.0 encoding=UTF-8 ?



config
luceneMatchVersion4.8/luceneMatchVersion
   
directoryFactory name=DirectoryFactory
   
class=${solr.directoryFactory:solr.StandardDirectoryFactory} /

dataDir${solr.core0.data.dir:}/dataDir

   
schemaFactory class=ClassicIndexSchemaFactory /

updateHandler class=solr.DirectUpdateHandler2
updateLog
str name=dir${solr.core0.data.dir:}/str
/updateLog
/updateHandler

   
requestHandler name=/get class=solr.RealTimeGetHandler
lst name=defaults
str name=omitHeadertrue/str
/lst
/requestHandler
   
requestHandler name=/select class=solr.SearchHandler
   
 lst name=defaults
   str name=echoParamsexplicit/str
   int name=rows10/int
   str name=dfid/str
   /lst
/requestHandler

requestHandler name=/suggest class=solr.SearchHandler
lst name=defaults
str name=echoParamsexplicit/str
str name=defTypeedismax/str
str name=rows10/str
str name=flfull_name,job_tree, company, city,
state, country, first_name, last_name, id/str
str name=qffull_name_suggest^60
full_name_ngram^100.0 job_suggest^30 job_ngram^50.0 /str
str name=pffull_name_edge^100.0
job_edge^50.0/str
str name=grouptrue/str
str name=group.fieldfull_name/str
   

  str name=sortfull_name asc/str
  str name=group.sortfull_name asc/str
/lst
/requestHandler
   
   

requestHandler name=/replication class=solr.ReplicationHandler
startup=lazy /

requestDispatcher handleSelect=true
requestParsers enableRemoteStreaming=false
multipartUploadLimitInKB=2048
formdataUploadLimitInKB=2048 /
/requestDispatcher

requestHandler name=standard class=solr.StandardRequestHandler
default=true /
requestHandler name=/analysis/field startup=lazy
class=solr.FieldAnalysisRequestHandler /
requestHandler name=/update class=solr.UpdateRequestHandler /
requestHandler name=/admin/
class=org.apache.solr.handler.admin.AdminHandlers /

requestHandler name=/admin/ping class=solr.PingRequestHandler
lst name=invariants
str name=qsolrpingquery/str
/lst
lst name=defaults
str name=echoParamsall/str
/lst
/requestHandler

   
admin
defaultQuerysolr/defaultQuery
/admin

/config
the following is the result for
(http://localhost:9090/solr/people/suggest?q=%E3%82%B7%E3%82%B9%E3%83%86%E3%83%A0%E3%82%A2%E3%83%8A%E3%83%AA%E3%82%B9%E3%83%88wt=jsonindent=true)

{
  responseHeader:{
status:0,
QTime:8,
params:{
  indent:true,
  q:システムアナリスト,
  wt:json}},
  grouped:{
full_name:{
  matches:2,
  groups:[{
  groupValue:مسعود,
  doclist:{numFound:1,start:0,docs:[
  {
job_tree:رسام كاريكاتور,
last_name:النغش,
state:Amman,
country:Jordan,
city:Amman,
id:fa0a5f94-0497-49f6-9060-ec45c27c0d8e,
company:شركة الفنون المتطورة,
full_name:مسعود  النغش,
first_name:مسعود }]
  }},
{
  groupValue:ね,
  doclist:{numFound:1,start:0,docs:[
  {
job_tree:システムアナリスト,
last_name:シャン,
state:Tokyo,
country:Japan,
city:Tokyo,
id:4fdce27b-3a9b-4045-85f3-2d5087d97b50,
company:日立,
full_name:すね シャン,
first_name:すね}]
  }}]}}}

I dont now why it bring the Arabic text with it the result is the same if I
try to search for the Arabic. Any help from you will be highly appreciated. 



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Multi-Language-Suggester-Solr-Issue-tp4176075.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Multi Language Suggester Solr Issue

2014-12-24 Thread Erick Erickson
,
 last_name:النغش,
 state:Amman,
 country:Jordan,
 city:Amman,
 id:fa0a5f94-0497-49f6-9060-ec45c27c0d8e,
 company:شركة الفنون المتطورة,
 full_name:مسعود  النغش,
 first_name:مسعود }]
   }},
 {
   groupValue:ね,
   doclist:{numFound:1,start:0,docs:[
   {
 job_tree:システムアナリスト,
 last_name:シャン,
 state:Tokyo,
 country:Japan,
 city:Tokyo,
 id:4fdce27b-3a9b-4045-85f3-2d5087d97b50,
 company:日立,
 full_name:すね シャン,
 first_name:すね}]
   }}]}}}

 I dont now why it bring the Arabic text with it the result is the same if I
 try to search for the Arabic. Any help from you will be highly appreciated.



 --
 View this message in context: 
 http://lucene.472066.n3.nabble.com/Multi-Language-Suggester-Solr-Issue-tp4176075.html
 Sent from the Solr - User mailing list archive at Nabble.com.