What is your evidence that the text field isn't indexed? The default
schema does not store the text field data, so if you specify
fl=text you won't see anything. But you can still search on the
text field.

This confuses a lot of people. Try looking in the admin/schema browser
link and exploring the contents of your index, that might help you get
a feel for what's happening.

Best
Erick

On Thu, Sep 1, 2011 at 5:44 AM, kumar8anuj <kumar.an...@gmail.com> wrote:
> Hi,
>
>    I am trying to index some documents through ExtractingRequestHandler.
> everything works fine with the jetty server but when i configure it with
> tomcat then my documents are not getting indexed only ids are getting index.
> means text field is blank but id field is having values though there is no
> error in the catalina.out file. Here is the command and output of the
> catalina.out
>
> I have multicore architecture and schema.xml is default which is there for
> examples in solr. Please help.....
>
> *command to index*
>
> curl
> "http://localhost:8080/solr/client/update/extract?literal.id=doc1&commit=true";
> -F "myfile=@README.txt"
>
>
> *output of calalina.out*
>
>
>  Sep 1, 2011 3:09:53 PM org.apache.solr.core.SolrDeletionPolicy onInit
> INFO: SolrDeletionPolicy.onInit: commits:num=1
>
> commit{dir=/opt/solr/hh_scraper/client/data/index,segFN=segments_3,version=1314863371898,generation=3,filenames=[_0.tis,
> _0.nrm, _0.fnm, _1.tis, _1.frq, _1_1.del, _1.fnm, _1.fdx, _1.prx, _0.tii,
> _1.fdt, _0.frq, _1.tii, _0.fdx, _0.prx, _1.nrm, segments_3, _0.fdt]
> Sep 1, 2011 3:09:53 PM org.apache.solr.core.SolrDeletionPolicy updateCommits
> INFO: newest commit = 1314863371898
> Sep 1, 2011 3:09:53 PM org.apache.solr.update.DirectUpdateHandler2 commit
> INFO: start
> commit(optimize=false,waitFlush=false,waitSearcher=true,expungeDeletes=false)
> Sep 1, 2011 3:09:53 PM org.apache.solr.core.SolrDeletionPolicy onCommit
> INFO: SolrDeletionPolicy.onCommit: commits:num=2
>
> commit{dir=/opt/solr/hh_scraper/client/data/index,segFN=segments_3,version=1314863371898,generation=3,filenames=[_0.tis,
> _0.nrm, _0.fnm, _1.tis, _1.frq, _1_1.del, _1.fnm, _1.fdx, _1.prx, _0.tii,
> _1.fdt, _0.frq, _1.tii, _0.fdx, _0.prx, _1.nrm, segments_3, _0.fdt]
>
> commit{dir=/opt/solr/hh_scraper/client/data/index,segFN=segments_4,version=1314863371899,generation=4,filenames=[_0.tis,
> _1.frq, _2.tii, _1.fnm, _1.tii, _0.prx, _0.nrm, _0.fnm, _1.tis, _2.prx,
> _2.fdt, _0_1.del, _2.frq, _1_1.del, _2.fdx, _2.fnm, _1.prx, _1.fdx, _2.tis,
> _0.tii, _1.fdt, _0.frq, _0.fdx, _0.fdt, _1.nrm, _2.nrm, segments_4]
> Sep 1, 2011 3:09:53 PM org.apache.solr.core.SolrDeletionPolicy updateCommits
> INFO: newest commit = 1314863371899
> Sep 1, 2011 3:09:53 PM org.apache.solr.search.SolrIndexSearcher <init>
> INFO: Opening Searcher@1510d96 main
> Sep 1, 2011 3:09:53 PM org.apache.solr.update.DirectUpdateHandler2 commit
> INFO: end_commit_flush
> Sep 1, 2011 3:09:53 PM org.apache.solr.search.SolrIndexSearcher warm
> INFO: autowarming Searcher@1510d96 main from Searcher@88a970 main
>
> fieldValueCache{lookups=0,hits=0,hitratio=0.00,inserts=0,evictions=0,size=0,warmupTime=0,cumulative_lookups=0,cumulative_hits=0,cumulative_hitratio=0.00,cumulative_inserts=0,cumulative_evictions=0}
> Sep 1, 2011 3:09:53 PM org.apache.solr.search.SolrIndexSearcher warm
> INFO: autowarming result for Searcher@1510d96 main
>
> fieldValueCache{lookups=0,hits=0,hitratio=0.00,inserts=0,evictions=0,size=0,warmupTime=0,cumulative_lookups=0,cumulative_hits=0,cumulative_hitratio=0.00,cumulative_inserts=0,cumulative_evictions=0}
> Sep 1, 2011 3:09:53 PM org.apache.solr.search.SolrIndexSearcher warm
> INFO: autowarming Searcher@1510d96 main from Searcher@88a970 main
>
> filterCache{lookups=0,hits=0,hitratio=0.00,inserts=0,evictions=0,size=0,warmupTime=0,cumulative_lookups=0,cumulative_hits=0,cumulative_hitratio=0.00,cumulative_inserts=0,cumulative_evictions=0}
> Sep 1, 2011 3:09:53 PM org.apache.solr.search.SolrIndexSearcher warm
> INFO: autowarming result for Searcher@1510d96 main
>
> filterCache{lookups=0,hits=0,hitratio=0.00,inserts=0,evictions=0,size=0,warmupTime=0,cumulative_lookups=0,cumulative_hits=0,cumulative_hitratio=0.00,cumulative_inserts=0,cumulative_evictions=0}
> Sep 1, 2011 3:09:53 PM org.apache.solr.search.SolrIndexSearcher warm
> INFO: autowarming Searcher@1510d96 main from Searcher@88a970 main
>
> queryResultCache{lookups=0,hits=0,hitratio=0.00,inserts=0,evictions=0,size=0,warmupTime=0,cumulative_lookups=0,cumulative_hits=0,cumulative_hitratio=0.00,cumulative_inserts=0,cumulative_evictions=0}
> Sep 1, 2011 3:09:53 PM org.apache.solr.search.SolrIndexSearcher warm
> INFO: autowarming result for Searcher@1510d96 main
>
> queryResultCache{lookups=0,hits=0,hitratio=0.00,inserts=0,evictions=0,size=0,warmupTime=0,cumulative_lookups=0,cumulative_hits=0,cumulative_hitratio=0.00,cumulative_inserts=0,cumulative_evictions=0}
> Sep 1, 2011 3:09:53 PM org.apache.solr.search.SolrIndexSearcher warm
> INFO: autowarming Searcher@1510d96 main from Searcher@88a970 main
>
> documentCache{lookups=2,hits=1,hitratio=0.50,inserts=1,evictions=0,size=1,warmupTime=0,cumulative_lookups=10,cumulative_hits=8,cumulative_hitratio=0.80,cumulative_inserts=2,cumulative_evictions=0}
> Sep 1, 2011 3:09:53 PM org.apache.solr.search.SolrIndexSearcher warm
> INFO: autowarming result for Searcher@1510d96 main
>
> documentCache{lookups=0,hits=0,hitratio=0.00,inserts=0,evictions=0,size=0,warmupTime=0,cumulative_lookups=10,cumulative_hits=8,cumulative_hitratio=0.80,cumulative_inserts=2,cumulative_evictions=0}
> Sep 1, 2011 3:09:53 PM org.apache.solr.core.QuerySenderListener newSearcher
> INFO: QuerySenderListener sending requests to Searcher@1510d96 main
> Sep 1, 2011 3:09:53 PM org.apache.solr.core.QuerySenderListener newSearcher
> INFO: QuerySenderListener done.
> Sep 1, 2011 3:09:53 PM
> org.apache.solr.handler.component.SpellCheckComponent$SpellCheckerListener
> buildSpellIndex
> INFO: Building spell index for spell checker: default
> Sep 1, 2011 3:09:53 PM org.apache.solr.core.SolrCore registerSearcher
> INFO: [client] Registered new searcher Searcher@1510d96 main
> Sep 1, 2011 3:09:53 PM org.apache.solr.search.SolrIndexSearcher close
> INFO: Closing Searcher@88a970 main
>
> fieldValueCache{lookups=0,hits=0,hitratio=0.00,inserts=0,evictions=0,size=0,warmupTime=0,cumulative_lookups=0,cumulative_hits=0,cumulative_hitratio=0.00,cumulative_inserts=0,cumulative_evictions=0}
>
> filterCache{lookups=0,hits=0,hitratio=0.00,inserts=0,evictions=0,size=0,warmupTime=0,cumulative_lookups=0,cumulative_hits=0,cumulative_hitratio=0.00,cumulative_inserts=0,cumulative_evictions=0}
>
> queryResultCache{lookups=0,hits=0,hitratio=0.00,inserts=0,evictions=0,size=0,warmupTime=0,cumulative_lookups=0,cumulative_hits=0,cumulative_hitratio=0.00,cumulative_inserts=0,cumulative_evictions=0}
>
> documentCache{lookups=2,hits=1,hitratio=0.50,inserts=1,evictions=0,size=1,warmupTime=0,cumulative_lookups=10,cumulative_hits=8,cumulative_hitratio=0.80,cumulative_inserts=2,cumulative_evictions=0}
> Sep 1, 2011 3:09:53 PM org.apache.solr.update.processor.LogUpdateProcessor
> finish
> INFO: {add=[doc1],commit=} 0 691
> Sep 1, 2011 3:09:53 PM org.apache.solr.core.SolrCore execute
> INFO: [client] webapp=/solr path=/update/extract
> params={commit=true&literal.id=doc1} status=0 QTime=691
>
>
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/index-not-created-tp3300744p3300744.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Reply via email to