<br />
<b>Warning</b>:  Undefined array key "global_protection_id" in <b>/home/wikitechy/public_html/interview-questions/wp-content/plugins/content-protector/inc/class-ps-rest-handler.php</b> on line <b>51</b><br />
{"id":248,"date":"2021-07-12T15:45:41","date_gmt":"2021-07-12T15:45:41","guid":{"rendered":"https:\/\/www.wikitechy.com\/interview-questions\/?p=248"},"modified":"2021-09-14T10:10:47","modified_gmt":"2021-09-14T10:10:47","slug":"what-is-indexing-and-search-full_text-arabic-field-using-apache-solr","status":"publish","type":"post","link":"https:\/\/www.wikitechy.com\/interview-questions\/apache-solr\/what-is-indexing-and-search-full_text-arabic-field-using-apache-solr\/","title":{"rendered":"What is Indexing and search full_text arabic field using apache solr ?"},"content":{"rendered":"<div class=\"TextHeading\">\n<div class=\"hddn\">\n<h2 id=\"arabic-field-using-apache-solr\" class=\"color-purple\" style=\"text-align: justify;\">Arabic field using apache solr:<\/h2>\n<\/div>\n<\/div>\n<div class=\"row\" style=\"text-align: justify;\">\n<div class=\"col-sm-12\">\n<div class=\"Content\">\n<div class=\"hddn\">\n<ul>\n<li>Apache Solr has an Arabic analysis.<\/li>\n<li>If you open the default schema.xml file which comes with Solr, you will see an example of Arabic fieldtype.<\/li>\n<li>You can use CopyField to copy your fields to the Arabic field type.<\/li>\n<li>You have to reindex your content again to get the preferred results.<\/li>\n<li>If each document consists of 3 fields, two fields are integers then the third field is Arabic text with diacritics, the user may use words with or without diacritics or else some letters have diacritics and others without diacritics, you can use schema.xml which helps in such situation.<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<div class=\"ImageContent\">\n<div class=\"hddn\"><\/div>\n<div>\n<div class=\"code-embed-wrapper\"> <div class=\"code-embed-infos\"> <\/div> <pre class=\"language-markdown code-embed-pre line-numbers\"  data-start=\"1\" data-line-offset=\"0\"><code class=\"language-markdown code-embed-code\">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; ?&gt;<br\/><br\/>&lt;schema name=&quot;quran&quot; version=&quot;1.5&quot;&gt;<br\/><br\/>&lt;fields&gt;<br\/>    &lt;field name=&quot;_version_&quot; type=&quot;long&quot; indexed=&quot;true&quot; stored=&quot;true&quot;\/&gt;<br\/>    &lt;field name=&quot;_id&quot; type=&quot;long&quot; indexed=&quot;true&quot; stored=&quot;true&quot; \/&gt;<br\/>    &lt;field name=&quot;sura_number&quot; type=&quot;int&quot; indexed=&quot;true&quot; stored=&quot;true&quot; \/&gt;<br\/>    &lt;field name=&quot;verse_number&quot; type=&quot;int&quot; indexed=&quot;true&quot; stored=&quot;true&quot; \/&gt;<br\/>    &lt;field name=&quot;verse_text&quot; type=&quot;text_ar&quot; indexed=&quot;true&quot; stored=&quot;true&quot;\/&gt;<br\/> &lt;\/fields&gt;<br\/><br\/>&lt;types&gt;<br\/>    &lt;fieldType name=&quot;string&quot; class=&quot;solr.StrField&quot; sortMissingLast=&quot;true&quot; \/&gt;<br\/>    &lt;fieldType name=&quot;boolean&quot; class=&quot;solr.BoolField&quot; sortMissingLast=&quot;true&quot;\/&gt;<br\/><br\/>    &lt;fieldType name=&quot;int&quot; class=&quot;solr.TrieIntField&quot; precisionStep=&quot;0&quot; positionIncrementGap=&quot;0&quot;\/&gt;<br\/>    &lt;fieldType name=&quot;float&quot; class=&quot;solr.TrieFloatField&quot; precisionStep=&quot;0&quot; positionIncrementGap=&quot;0&quot;\/&gt;<br\/>    &lt;fieldType name=&quot;long&quot; class=&quot;solr.TrieLongField&quot; precisionStep=&quot;0&quot; positionIncrementGap=&quot;0&quot;\/&gt;<br\/>    &lt;fieldType name=&quot;double&quot; class=&quot;solr.TrieDoubleField&quot; precisionStep=&quot;0&quot; positionIncrementGap=&quot;0&quot;\/&gt;<br\/><br\/>    &lt;fieldType name=&quot;date&quot; class=&quot;solr.TrieDateField&quot; precisionStep=&quot;0&quot; positionIncrementGap=&quot;0&quot;\/&gt;<br\/><br\/>    &lt;fieldType name=&quot;location&quot; class=&quot;solr.LatLonType&quot; subFieldSuffix=&quot;_coordinate&quot;\/&gt;<br\/>    &lt;dynamicField name=&quot;*_coordinate&quot;  type=&quot;tdouble&quot; indexed=&quot;true&quot;  stored=&quot;false&quot;\/&gt;<br\/><br\/>   &lt;!--  Arabic  --&gt;<br\/>   &lt;fieldType name=&quot;text_ar&quot; class=&quot;solr.TextField&quot; positionIncrementGap=&quot;100&quot;&gt;<br\/>   &lt;analyzer&gt;<br\/>   &lt;tokenizer class=&quot;solr.StandardTokenizerFactory&quot;\/&gt;<br\/>   &lt;!--  normalizes \ufeef to \ufef1, etc  --&gt;<br\/>   &lt;filter class=&quot;solr.ArabicNormalizationFilterFactory&quot;\/&gt;<br\/>   &lt;filter class=&quot;solr.ArabicStemFilterFactory&quot;\/&gt;<br\/>   &lt;\/analyzer&gt;<br\/>   &lt;\/fieldType&gt;<br\/><br\/>&lt;\/types&gt;<br\/><br\/>&lt;\/schema&gt;<\/code><\/pre> <\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Answer:Apache Solr has an Arabic analysis.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"passster_activate_protection":false,"passster_protect_child_pages":"","passster_protection_type":"password","passster_password":"","passster_activate_overwrite_defaults":"","passster_headline":"","passster_instruction":"","passster_placeholder":"","passster_button":"","passster_id":"","passster_activate_misc_settings":"","passster_redirect_url":"","passster_hide":"no","passster_area_shortcode":"","gtb_hide_title":false,"gtb_wrap_title":false,"gtb_class_title":"","gtb_remove_headerfooter":false,"footnotes":""},"categories":[684],"tags":[195,687,702,707,866,820,703,705,491,203,199,214,198,363,209,205,222,196,212,712,213,867,869,870,710,207,711,366,361,204,282,367,206,704,868,873,706,789,875,769,871,865,864,877,872,874,862,876,200,197,280,364,713,285],"class_list":["post-248","post","type-post","status-publish","format-standard","hentry","category-apache-solr","tag-accenture-interview-questions-and-answers","tag-apache-solr","tag-apache-solr-documentation","tag-apache-solr-download","tag-apache-solr-for-indexing-data","tag-apache-solr-indexing","tag-apache-solr-tutorial","tag-apache-solr-vs-elasticsearch","tag-applied-materials-interview-questions-and-answers","tag-capgemini-interview-questions-and-answers","tag-casting-networks-india-pvt-limited-interview-questions-and-answers","tag-cgi-group-inc-interview-questions-and-answers","tag-chetu-interview-questions-and-answers","tag-ciena-corporation-interview-questions-and-answers","tag-collabera-technologies-interview-questions-and-answers","tag-dell-international-services-india-pvt-ltd-interview-questions-and-answers","tag-flipkart-interview-questions-and-answers","tag-ibm-interview-questions-and-answers","tag-indecomm-global-services-interview-questions-and-answers","tag-indiabulls-technology-solutions-ltd-interview-questions-and-answers","tag-infosys-technologies-interview-questions-and-answers","tag-lucene-index","tag-lucene-indexwriter","tag-lucene-search-index","tag-mavenir-interview-questions-and-answers","tag-mphasis-interview-questions-and-answers","tag-nagarro-software-pvt-ltd-interview-questions-and-answers","tag-netapp-interview-questions-and-answers","tag-opentext-technologies-interview-questions-and-answers","tag-oracle-corporation-interview-questions-and-answers","tag-persistent-systems-interview-questions-and-answers","tag-rbs-india-development-centre-pvt-ltd-interview-questions-and-answers","tag-sap-labs-india-pvt-ltd-interview-questions-and-answers","tag-solr-architecture","tag-solr-create-index","tag-solr-englishminimalstemfilterfactory","tag-solr-example","tag-solr-indexing","tag-solr-indexing-example","tag-solr-indexing-tutorial","tag-solr-language-support","tag-solr-multi-language-support","tag-solr-protected-words","tag-solr-search-index","tag-solr-snowballporterfilterfactory","tag-solr-snowballporterfilterfactory-example","tag-solr-stemming-example","tag-solr-xml-indexing","tag-tech-mahindra-interview-questions-and-answers","tag-unitedhealth-group-interview-questions-and-answers","tag-virtusa-consulting-services-pvt-ltd-interview-questions-and-answers","tag-wells-fargo-interview-questions-and-answers","tag-wm-global-technology-services-india-pvt-ltd-interview-questions-and-answers","tag-xoriant-solutions-pvt-ltd-interview-questions-and-answers"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>What is Indexing and search full_text arabic field using apache solr ?<\/title>\n<meta name=\"description\" content=\"What is Indexing and search full_text arabic field using apache solr ? - apache solr - Apache Solr has an Arabic analysis. If you open the default schema.xml file\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wikitechy.com\/interview-questions\/apache-solr\/what-is-indexing-and-search-full_text-arabic-field-using-apache-solr\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What is Indexing and search full_text arabic field using apache solr ?\" \/>\n<meta property=\"og:description\" content=\"What is Indexing and search full_text arabic field using apache solr ? - apache solr - Apache Solr has an Arabic analysis. If you open the default schema.xml file\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wikitechy.com\/interview-questions\/apache-solr\/what-is-indexing-and-search-full_text-arabic-field-using-apache-solr\/\" \/>\n<meta property=\"og:site_name\" content=\"Wikitechy\" \/>\n<meta property=\"article:published_time\" content=\"2021-07-12T15:45:41+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-09-14T10:10:47+00:00\" \/>\n<meta name=\"author\" content=\"Editor\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Editor\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/apache-solr\/what-is-indexing-and-search-full_text-arabic-field-using-apache-solr\/\",\"url\":\"https:\/\/www.wikitechy.com\/interview-questions\/apache-solr\/what-is-indexing-and-search-full_text-arabic-field-using-apache-solr\/\",\"name\":\"What is Indexing and search full_text arabic field using apache solr ?\",\"isPartOf\":{\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/#website\"},\"datePublished\":\"2021-07-12T15:45:41+00:00\",\"dateModified\":\"2021-09-14T10:10:47+00:00\",\"author\":{\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/4d5a581fb5470d1560324bddc5e8b757\"},\"description\":\"What is Indexing and search full_text arabic field using apache solr ? - apache solr - Apache Solr has an Arabic analysis. If you open the default schema.xml file\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wikitechy.com\/interview-questions\/apache-solr\/what-is-indexing-and-search-full_text-arabic-field-using-apache-solr\/\"]}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/#website\",\"url\":\"https:\/\/www.wikitechy.com\/interview-questions\/\",\"name\":\"Wikitechy\",\"description\":\"Interview Questions\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wikitechy.com\/interview-questions\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/4d5a581fb5470d1560324bddc5e8b757\",\"name\":\"Editor\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/e9531079fe7e07841b7b156c04d65e5f39d4adfd18b6ffe3edfff8ca5aab85b5?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/e9531079fe7e07841b7b156c04d65e5f39d4adfd18b6ffe3edfff8ca5aab85b5?s=96&d=mm&r=g\",\"caption\":\"Editor\"},\"url\":\"https:\/\/www.wikitechy.com\/interview-questions\/author\/editor\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What is Indexing and search full_text arabic field using apache solr ?","description":"What is Indexing and search full_text arabic field using apache solr ? - apache solr - Apache Solr has an Arabic analysis. If you open the default schema.xml file","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wikitechy.com\/interview-questions\/apache-solr\/what-is-indexing-and-search-full_text-arabic-field-using-apache-solr\/","og_locale":"en_US","og_type":"article","og_title":"What is Indexing and search full_text arabic field using apache solr ?","og_description":"What is Indexing and search full_text arabic field using apache solr ? - apache solr - Apache Solr has an Arabic analysis. If you open the default schema.xml file","og_url":"https:\/\/www.wikitechy.com\/interview-questions\/apache-solr\/what-is-indexing-and-search-full_text-arabic-field-using-apache-solr\/","og_site_name":"Wikitechy","article_published_time":"2021-07-12T15:45:41+00:00","article_modified_time":"2021-09-14T10:10:47+00:00","author":"Editor","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Editor","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wikitechy.com\/interview-questions\/apache-solr\/what-is-indexing-and-search-full_text-arabic-field-using-apache-solr\/","url":"https:\/\/www.wikitechy.com\/interview-questions\/apache-solr\/what-is-indexing-and-search-full_text-arabic-field-using-apache-solr\/","name":"What is Indexing and search full_text arabic field using apache solr ?","isPartOf":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/#website"},"datePublished":"2021-07-12T15:45:41+00:00","dateModified":"2021-09-14T10:10:47+00:00","author":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/4d5a581fb5470d1560324bddc5e8b757"},"description":"What is Indexing and search full_text arabic field using apache solr ? - apache solr - Apache Solr has an Arabic analysis. If you open the default schema.xml file","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wikitechy.com\/interview-questions\/apache-solr\/what-is-indexing-and-search-full_text-arabic-field-using-apache-solr\/"]}]},{"@type":"WebSite","@id":"https:\/\/www.wikitechy.com\/interview-questions\/#website","url":"https:\/\/www.wikitechy.com\/interview-questions\/","name":"Wikitechy","description":"Interview Questions","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wikitechy.com\/interview-questions\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/4d5a581fb5470d1560324bddc5e8b757","name":"Editor","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/e9531079fe7e07841b7b156c04d65e5f39d4adfd18b6ffe3edfff8ca5aab85b5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e9531079fe7e07841b7b156c04d65e5f39d4adfd18b6ffe3edfff8ca5aab85b5?s=96&d=mm&r=g","caption":"Editor"},"url":"https:\/\/www.wikitechy.com\/interview-questions\/author\/editor\/"}]}},"_links":{"self":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts\/248","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/comments?post=248"}],"version-history":[{"count":3,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts\/248\/revisions"}],"predecessor-version":[{"id":3713,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts\/248\/revisions\/3713"}],"wp:attachment":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/media?parent=248"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/categories?post=248"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/tags?post=248"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}