2013/1/16 Gniewosław Rzepka <gniewoslaw.rze...@makolab.net>
>
> Hi all,
>
> While doing some dedicated configuration of keyword engine – exactly 
> additional type mapping – I get AJAX Error:
>
> The request failed:
>
> Request Entity Too Large
>
>
>
> Is there a chance to believe, that there is limit for mapped types?


Yes there is a maximum size of the parameters you can sent via the
Apache Felix Webconsole. However this is a limitation of the
Webconsole meaning that if you are hitting this problem you need to
provide the configuration by some other means e.g. by providing a
configuration file and copying it to the "stanbol/fileinstall" folder
(create the folder if it does not exist)


The filename has to be

    
org.apache.stanbol.enhancer.engines.keywordextraction.engine.KeywordLinkingEngine-{instance-name}.config

The contents need to look like

stanbol.enhancer.engine.name="{engine-name}"
org.apache.stanbol.enhancer.engines.keywordextraction.referencedSiteId="{site-id}"
org.apache.stanbol.enhancer.engines.keywordextraction.nameField="rdfs:label"
org.apache.stanbol.enhancer.engines.keywordextraction.typeField="rdf:type"
org.apache.stanbol.enhancer.engines.keywordextraction.keywordTokenizer=B"false"
org.apache.stanbol.enhancer.engines.keywordextraction.dereference=B"true"
org.apache.stanbol.enhancer.engines.keywordextraction.minSearchTokenLength=I"3"
org.apache.stanbol.enhancer.engines.keywordextraction.defaultMatchingLanguage=""
org.apache.stanbol.enhancer.engines.keywordextraction.caseSensitive=B"true"
org.apache.stanbol.enhancer.engines.keywordextraction.redirectField="rdfs:seeAlso"
org.apache.stanbol.enhancer.engines.keywordextraction.processedLanguages=""
org.apache.stanbol.enhancer.engines.keywordextraction.maxSuggestions=I"3"
org.apache.stanbol.enhancer.engines.keywordextraction.redirectMode="IGNORE"
org.apache.stanbol.enhancer.engines.keywordextraction.typeMappings=["drugbank:drugs;\
dbp-ont:Drug;\ dailymed:drugs;\ sider:drugs;\ tcm:Medicine\ >\
drugbank:drugs"]
service.ranking=I"0"

Note that contents need to be encoded. The best is to find the file of
your current configuration in the

   
stanbol/config/org/apache/stanbol/enhancer/engines/keywordextraction/engine/KeywordLinkingEngine

directory and than start to adapt it as needed (e.g. add the
additional type mappings you can not set via Felix Webconsole.

See also

    http://stanbol.apache.org/docs/trunk/production-mode/

for related information

best
Rupert Westenthaler

>
>
>
>
> Best
>
> Gniewosław Rzepka
>
> Specjalista ds. technologii Semantic Web / Semantic Technology Specialist
>
>
>
> e: gniewoslaw.rze...@makolab.net
>
> t: +48 42 683 74 71
>
> MakoLab S.A.
>
> ul. Demokratyczna 46, 93-430 Łódź
> www.makolab.pl
>
> Spółka zarejestrowana w Krajowym Rejestrze Sądowym przez Sąd Rejonowy dla 
> Łodzi - Śródmieścia w Łodzi XX Wydział Krajowego Rejestru Sądowego pod 
> numerem KRS 0000289179. Wysokość kapitału zakładowego wynosi 707 473 PLN. 
> Kapitał zakładowy został wpłacony w całości. NIP 7250015526, REGON 471343117.
>
> Wiadomość ta jest przeznaczona jedynie dla osoby lub podmiotu będącego jej 
> adresatem i może zawierać poufne lub uprzywilejowane informacje. Zakazane 
> jest przeglądanie, przesyłanie, rozpowszechnianie lub inne wykorzystywanie 
> tych informacji, jak również podejmowanie działań na ich podstawie, przez 
> osoby lub podmioty inne niż zamierzony adresat. Jeśli otrzymali Państwo tę 
> wiadomość przez pomyłkę, prosimy o poinformowanie nadawcy i usunięcie jej z 
> komputera.
>
> The information transmitted is intended only for the person or entity to 
> which it is addressed and may contain confidential or privileged material. 
> Any review, retransmission, dissemination or other use of, or taking of any 
> action in reliance upon, this information by persons or entities other than 
> the intended recipient is prohibited. If you received this in error, please 
> notify the sender and delete the material from your computer.
>
>




--
| Rupert Westenthaler             rupert.westentha...@gmail.com
| Bodenlehenstraße 11                             ++43-699-11108907
| A-5500 Bischofshofen

Reply via email to