I posted this message quite a while back and am wondering if any one has any
thing to add to this.:-(
peoplesoft wrote:
>
> So far search works well for the English content. but searching in html
> files with non English content ("Urdu" in my case which is similar to
> arabic/persian), the search fails to return any thing.
>
> Any reason for this?
>
> I am using following to perform indexing:
> ..
> $contents = file_get_contents($filepath);
> ..
> // Create a new document object
> $doc = new Zend_Search_Lucene_Document();
> $doc->addField(Zend_Search_Lucene_Field::UnStored('document_body',
> $contents));
> $doc->addField(Zend_Search_Lucene_Field::UnIndexed('document_url',
> $myurl));
> // Add document to index
> $index->addDocument($doc);
>
> Looking forward to your comments
>
> Thanks
>
--
View this message in context:
http://www.nabble.com/Zend_Lucene_Search-for-international-languages-tp13836059s16154p15733388.html
Sent from the Zend Framework mailing list archive at Nabble.com.