Re: Solr Error Handling

2016-02-26 Thread Colin Walker
Thanks for the quick response! I am using 2.1.3 and will check out that
tutorial. I can see everything in the logs but want to repair the indexes
programmatically. It sounds like Jason's solution is what I'm looking for.

Cheers,

Colin
On 26 Feb 2016 8:17 a.m., "Jason Voegele"  wrote:

> On Feb 26, 2016, at 10:40 AM, Colin Walker  wrote:
>
> Due to bad planning on my part, Solr is having trouble indexing some of
> the fields I am sending to it, specifically, I ended up with some string
> fields in a numerical field. Is there a way to retrieve the records from
> Riak that have thrown errors in sole?
>
>
> Hi Colin,
>
> Can you tell us what version of Riak you are running? In recent versions
> of Riak you can get this information by expiring the AAE trees for Yokozuna
> and then noting the objects that are flagged as not being indexable. See
> http://docs.basho.com/riak/latest/ops/advanced/aae/#AAE-and-Riak-Search for
> some background info on AAE and Yokozuna, if needed.
>
> Another possible option is to see if the the “_yz_err” field that is
> automatically created on certain error conditions might hold the
> information you need. See
> http://docs.basho.com/riak/latest/dev/advanced/search-schema/ for info on
> “_yz_err”.
>
> --
> Jason Voegele
> When my brain begins to reel from my literary labors, I make an occasional
> cheese dip.
> -- Ignatius Reilly
>
>
___
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com


Re: Solr Error Handling

2016-02-26 Thread Alex Moore
Hey Colin,

Do you see any errors in your solr log that would give you the info on the
bad entries?

Thanks,
Alex

On Fri, Feb 26, 2016 at 10:40 AM, Colin Walker  wrote:

> Hey again everyone,
>
> Due to bad planning on my part, Solr is having trouble indexing some of
> the fields I am sending to it, specifically, I ended up with some string
> fields in a numerical field. Is there a way to retrieve the records from
> Riak that have thrown errors in solr?
>
> Cheers,
>
> Colin
>
> ___
> riak-users mailing list
> riak-users@lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
>
___
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com