Linux`a yeni bir disk eklendiginde, asagidaki adimlari takip ediyoruz.
$ /sbin/fdisk -l
Disk /dev/sda: 22.0 GB, 22088384512 bytes
255 heads, 63 sectors/track, 2685 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 2685 21462840 8e Linux LVM
Disk /dev/sdb: 6442 MB, 6442450944 bytes
255 heads, 63 sectors/track, 783 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdb doesn't contain a valid partition table
$ [root@linux1 /]# pwd
/
$ mkdir data
$ /sbin/fdisk /dev/sdb
sirasiyla, n,p,1 enter, enter, w
$ /sbin/mkfs.ext3 /dev/sdb1
$ vi /etc/fstab
ekleyelim /dev/sdb1 /data ext3 defaults 1 2
$ /sbin/e2label /dev/sdb1 /data
Oracle Teknolojileri, Weblogic, SOA Suite, Java, Kurumsal Veri Sözlüğü, API Gateway, API Manager, Veri Sözlüğü, SOAGEN, Metanizer, Apinizer
29 Kasım 2012 Perşembe
20 Kasım 2012 Salı
nutch content store
Merhaba, Apache Nutch kullanarak, web sitelerinizi crawl etmek istediginizde, default olarak crawl ederken html icerigini crawl edip indexlemez, bunun icin asagidaki satiri duzeltmemiz isimizi gorecektir.
Mesala ben solr`a indexledigim icin (solr 4.0)
../solr/example/solr/collection1/conf/schema.xml icerisinde asagidaki stored kismini true yapiyoruz
true
field name="content" type="string" stored="true" indexed="true"/
Mesala ben solr`a indexledigim icin (solr 4.0)
../solr/example/solr/collection1/conf/schema.xml icerisinde asagidaki stored kismini true yapiyoruz
field name="content" type="string" stored="true" indexed="true"/
org.apache.solr.common.SolrException: undefined field text
Exception:
org.apache.solr.common.SolrException: undefined field text
Solution:
1. open solrconfig.xml
2. find
3. under that tag, find text
4. change "text" to whatever your entity property that you need it to be indexed
For example, if I have an entity called car, it might have a property called brand and I might want to search within that field. So, in that case it would be convenient for me to change "text" to "brand"
org.apache.solr.common.SolrException: undefined field text
Solution:
1. open solrconfig.xml
2. find
3. under that tag, find
4. change "text" to whatever your entity property that you need it to be indexed
For example, if I have an entity called car, it might have a property called brand and I might want to search within that field. So, in that case it would be convenient for me to change "text" to "brand"
Kaydol:
Kayıtlar (Atom)