On Wed, Jul 1, 2009 at 2:56 AM, ashokc <ash...@qualcomm.com> wrote:

>
> I have the following fieldType that processes korean/chinese/japanese text
>
> <fieldType name="cjk_text" class="solr.TextField">
>      <analyzer type="index">
>        <tokenizer class="solr.CJKTokenizerFactory"/>
>      </analyzer>
>      <analyzer type="query">
>        <tokenizer class="solr.CJKTokenizerFactory"/>
>      </analyzer>
> </fieldType>
>
> When I supply korean words/phrases in the query, I do get several expected
> Korean URLs as search results, and the my keywords are correctly
> highlighted
> in the excerpt. But for chinese & japanese I almost always draw a blank -
> i.e. no hits.
>
> I ran sample chinese/japanese text through 'analysis'
> (/search/admin/analysis.jsp) it does highlight the matches it found for the
> query words I supplied. But when I actually search for it
> (/search/admin/form.jsp) I get no hits.
>

That is strange. Can you add a request parameter debugQuery=on and post the
response? Also, whenever you change the field type (use a different
tokenizer etc.), make sure you re-index the documents.

-- 
Regards,
Shalin Shekhar Mangar.

Reply via email to