lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zheng Lin Edwin Yeo <edwinye...@gmail.com>
Subject Re: Unable to perform search query after changing uniqueKey
Date Mon, 30 Mar 2015 05:49:52 GMT
Hi Erick,

I've tried that, and removed the data directory from both the shards. But
the same problem still occurs, so we probably can rule out the "memory"
issue.

Regards,
Edwin

On 30 March 2015 at 12:39, Erick Erickson <erickerickson@gmail.com> wrote:

> I meant shut down Solr and physically remove the entire data
> directory. Not saying this is the cure, but it can't hurt to rule out
> the index having "memory"...
>
> Best,
> Erick
>
> On Sun, Mar 29, 2015 at 6:35 PM, Zheng Lin Edwin Yeo
> <edwinyeozl@gmail.com> wrote:
> > Hi Erick,
> >
> > I used the following query to delete all the index.
> >
> > http://localhost:8983/solr/update?stream.body=
> <delete><query>*:*</query></delete>
> http://localhost:8983/solr/update?stream.body=<commit/>
> >
> >
> > Or is it better to physically delete the entire data directory?
> >
> >
> > Regards,
> > Edwin
> >
> >
> > On 28 March 2015 at 02:27, Erick Erickson <erickerickson@gmail.com>
> wrote:
> >
> >> You say you re-indexed, did you _completely_ remove the data directory
> >> first, i.e. the parent of the "index" and, maybe, "tlog" directories?
> >> I've occasionally seen remnants of old definitions "pollute" the new
> >> one, and since the <uniqueKey> key is so fundamental I can see it
> >> being a problem.
> >>
> >> Best,
> >> Erick
> >>
> >> On Fri, Mar 27, 2015 at 1:42 AM, Andrea Gazzarini <
> a.gazzarini@gmail.com>
> >> wrote:
> >> > Hi Edwin,
> >> > please provide some other detail about your context, (e.g. complete
> >> > stacktrace, query you're issuing)
> >> >
> >> > Best,
> >> > Andrea
> >> >
> >> >
> >> > On 03/27/2015 09:38 AM, Zheng Lin Edwin Yeo wrote:
> >> >>
> >> >> Hi everyone,
> >> >>
> >> >> I've changed my uniqueKey to another name, instead of using id, on
> the
> >> >> schema.xml.
> >> >>
> >> >> However, after I have done the indexing (the indexing is successful),
> >> I'm
> >> >> not able to perform a search query on it. I gives the error
> >> >> java.lang.NullPointerException.
> >> >>
> >> >> Is there other place which I need to configure, besides changing the
> >> >> uniqueKey field in scheam.xml?
> >> >>
> >> >> Regards,
> >> >> Edwin
> >> >>
> >> >
> >>
>

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