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.
;:"システムアナリスト",
"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.
t:9090/solr/people/suggest?q=full_name_ngram%3A%D9%85%D8%B3%D8%B9%D9%88%D8%AF&wt=json&indent=true
{
"responseHeader":{
"status":0,
"QTime":7,
"params":{
"indent":"true",
"q":"full_name_ngram:مسعود",
"wt":"json"}},
"grouped":{
"full_name":{
"matches":3,
"groups":[{
"groupValue":null,
"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":"Moscow",
"country":"Russian Federation",
"city":"Moscow",
"id":"71f0dc71-2b89-48d8-94bf-f3c7c063382e",
"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 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.
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.
gt; ${solr.core0.data.dir:}
>
>
>
>
>
>
> ${solr.core0.data.dir:}
>
>
>
>
>
>
> true
>
>
>
>
>
>
>explicit
>10
>id
>
>
>
>
>
> explicit
> edismax
> 10
> full_name,job_tree, company, city,
> state, country, first_name, last_name, id
> full_name_suggest^60
> full_name_ngram^100.0 job_suggest^30 job_ngram^50.0
> full_name_edge^100.0
> job_edge^50.0
> true
> full_name
>
>
> full_name asc
> full_name asc
>
>
>
>
>
> startup="lazy" />
>
>
> multipartUploadLimitInKB="2048"
> formdataUploadLimitInKB="2048" />
>
>
> default="true" />
> class="solr.FieldAnalysisRequestHandler" />
>
> class="org.apache.solr.handler.admin.AdminHandlers" />
>
>
>
> solrpingquery
>
>
> all
>
>
>
>
>
> solr
>
>
>
> 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%88&wt=json&indent=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.
uot;groupValue":"ね",
"doclist":{"numFound":1,"start":0,"docs":[
{
"job_tree":"システムアナリスト",
"last_name":"シャン",
"state":"Tokyo"