lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "tim robertson" <timrobertson...@gmail.com>
Subject Re: Newbie CVS problem
Date Sun, 16 Mar 2008 12:33:08 GMT
Ah - perfect
Thanks!


On Sun, Mar 16, 2008 at 1:26 PM, Yonik Seeley <yonik@apache.org> wrote:

> You won't see anything until the results are committed.
> try something like http://localhost:8983/solr/update/csv?commit=true
> to commit after adding all the docs.
>
> post.sh in exampledocs also has an example at the end of how to send a
> commit command separately.
>
> -Yonik
>
> On Sun, Mar 16, 2008 at 6:56 AM, tim robertson
> <timrobertson100@gmail.com> wrote:
> > Hi All,
> >  I have today installed SOLR and am trying to get CSV files indexed but
> cant
> >  seem to get any hits.
> >
> >  Using a fresh 1.2 install, I am using the schema shipped and the
> >  books.csvin the example.
> >
> >  It seems to upload ok:
> >
> >  timrobertson@noname
> //Users/timrobertson/dev/apache-solr-nightly/example-tim/exampledocs$
> >  curl
> >  http://localhost:8983/solr/update/csv --data-binary @books.csv -H
> >  'Content-type:text/plain; charset=utf-8'
> >  <?xml version="1.0" encoding="UTF-8"?>
> >  <response>
> >  <lst name="responseHeader"><int name="status">0</int><int
> >  name="QTime">17</int></lst>
> >  </response>
> >
> >  But a search for Black returns no results - this is the URL I am using:
> >
> >
> http://localhost:8983/solr/select/?q=Black&version=2.2&start=0&rows=10&indent=on
> >
> >
> >  I am complete newbie, but looking at the schema I thought the Name
> column
> >  would end up indexed.
> >
> >
> >  Could someone please tell me what I am missing?
> >
> >
> >  Many Thanks
> >
> >
> >  Tim
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message