Hi, What do you get from a query http://www/SearchApp/select/?q=*:* or http://www/SearchApp/select/?q=id:vpn ? You may not have mapped the fields correctly to your schema?
-- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com Solr Training - www.solrtraining.com On 12. sep. 2011, at 02:12, Michael Dockery wrote: > I am new to solr. > > I tried to upload a pdf file via curl to my solr webapp (on tomcat) > > curl > "http://www/SearchApp/update/extract?stream.file=c:\dmvpn.pdf&stream.contentType=application/pdf&literal.id=pdf&commit=true" > > > > <?xml version="1.0" encoding="UTF-8"?> > <response> > <lst name="responseHeader"><int name="status">0</int><int > name="QTime">860</int></lst> > </response> > > > but > > http://www/SearchApp/select/?q=vpn > > > does not find the document > > > <response> > <lst name="responseHeader"> > <int name="status">0</int> > <int name="QTime">0</int> > <lst name="params"> > <str name="q">vpn</str> > </lst> > </lst> > <result name="response" numFound="0" start="0"/> > </response> > > > help is appreciated. > > ================================================= > fyi > I point my test webapp to the index/solr home via mod meta-data/context.xml > <Context crossContext="true" > > <Environment name="solr/home" type="java.lang.String" > value="c:/solr_home" override="true" /> > > and I had to copy all these jars to my webapp lib dir: (to avoid the > classnotfound) > Solr_download\contrib\extraction\lib > ...in the future i plan to put them in the tomcat/lib dir. > > > Also, I have not modified conf\solrconfig.xml or schema.xml.