Return-Path: X-Original-To: apmail-lucene-solr-user-archive@minotaur.apache.org Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8CECC42C7 for ; Tue, 12 Jul 2011 00:40:08 +0000 (UTC) Received: (qmail 98351 invoked by uid 500); 12 Jul 2011 00:40:05 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 98140 invoked by uid 500); 12 Jul 2011 00:40:04 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 98131 invoked by uid 99); 12 Jul 2011 00:40:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jul 2011 00:40:04 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=SPF_PASS,T_FRT_ADULT2 X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of koji@r.email.ne.jp designates 202.224.39.198 as permitted sender) Received: from [202.224.39.198] (HELO mail2.asahi-net.or.jp) (202.224.39.198) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jul 2011 00:39:56 +0000 Received: from Koji-Sekiguchi-no-MacBook-Pro.local (w244069.ppp.asahi-net.or.jp [121.1.244.69]) by mail2.asahi-net.or.jp (Postfix) with ESMTP id 8C023E656E for ; Tue, 12 Jul 2011 09:39:34 +0900 (JST) Message-ID: <4E1B97C5.7050705@r.email.ne.jp> Date: Tue, 12 Jul 2011 09:39:33 +0900 From: Koji Sekiguchi User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; ja-JP-mac; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11 MIME-Version: 1.0 To: solr-user@lucene.apache.org Subject: Re: (Solr-UIMA) Doubt regarding integrating UIMA in to solr - Configuration. References: <4E164950.1060902@r.email.ne.jp> <4E170F3C.2000004@r.email.ne.jp> <4E1789DE.9070602@r.email.ne.jp> <4E1B0A1E.5080209@r.email.ne.jp> <4E1B1633.1060409@r.email.ne.jp> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org I don't think you have wrong setting in UIMA, but you may have the request handler named "/update/javabin" in solrconfig.xml is not correct? koji -- http://www.rondhuit.com/en/ (11/07/12 0:52), Sowmya V.B. wrote: > Hi > > I just added the fields which are added to the index by one of the > annotators to the index, in the fieldmappings section. I am not getting any > compilation errors and still see the admin interface. However, when I index, > i just get a SolrException, > > org.apache.solr.common.SolrException: Bad Request. > > On the server log, I don't see anything except for this: > 127.0.0.1 - - [11/Jul/2011:17:44:04 +0200] "POST > /apache-solr-3.3.0/update/javabin?wt=javabin&version=2 HTTP/1.1" 400 1328 > > Here is my UpdateRequestProcessorChain in sorlconfig.xml (Just changed the > original path names for privacy's sake!) > > *********** > > > class="org.apache.solr.uima.processor.UIMAUpdateRequestProcessorFactory"> > > > > name="tokenizerModelFileLocation">/Users/svajjala/Documents/EnglishTok.bin.gz > name="taggerModelFileLocation">/Users/svajjala/Documents/tag.bin.gz > english > false > name="GreenlineLists">/Users/svajjala/Documents/NewGreenline > > > name="analysisEngine">/Users/svajjala/Documents/ir4icallPipeline.xml > > false > > > false > > text > > > > > > > > > > > > > > > field="Generic_TotalWordCount" /> > > > > > > > > > > ************ > I don't understand where exactly can I see a more detailed log of why its > not getting indexed. > > Sowmya. > > On Mon, Jul 11, 2011 at 5:26 PM, Koji Sekiguchi wrote: > >> disclaimer: I'm not an expert of UIMA. I've just started using it when Solr >> 3.1 >> integrated UIMA! >> >> >> Thanks for the clarification. Now, I get it. >>> Should section mention all the annotators, even if the >>> annotators do not add any new fields? >>> >> >> For example, if I have a pipeline, starting from "parser", "tokenizer" and >>> "tagger", all of them operate on a field called "text"..which is the >>> of the document. but all these annotators do not add any new fields to the >>> index. Should I still write fieldmappings for these annotators inside >>> SolrConfig.? >>> >> >> I don't think so. Try it and if you got errors, come back to this list! >> >> >> koji >> -- >> http://www.rondhuit.com/en/ >> > > >