Nick Wellnhofer wrote
> On Jan 31, 2014, at 21:43 , Nick D. <

> ndwyer@

> > wrote:
> 
> If you checkout the sortfieldwriter branch, you’ll get all these commits.
> If you’re using the 0.3 branch, you have apply them one-by-one. There’s a
> good chance that this will work without conflicts.
> 
> Nick

I've checkout out the sorfieldwriter branch like so:
git clone https://git-wip-us.apache.org/repos/asf/lucy.git
git checkout -b test  origin/sortfieldwriter

And when I do a `git log` I see the commits:

> commit ad178f10692659b4ed8b170ebfa42d13fd3eed20
> Author: Nick Wellnhofer 
> <
> [email protected]
> >
> Date:   Thu Sep 26 19:43:42 2013 +0200
> 
>     Use counting sort to sort doc_ids in SortFieldWriter#Refill
>     
>     Since we already have the ordinals for each doc_id, we can use a
>     counting sort. This uses a temporary array of size run_cardinality but
>     runs in linear time.
> 
> commit 98a960ed16c601569ab1b78e5a3e1e9302065180
> Author: Nick Wellnhofer 
> <
> [email protected]
> >
> Date:   Thu Sep 26 02:28:04 2013 +0200
> 
>     Free sorted_ids in SortFieldWriter a little earlier
> 
> commit 393723d354d8ce44841cd006a26d03894315088d
> Author: Nick Wellnhofer 
> <
> [email protected]
> >
> Date:   Thu Sep 26 02:13:49 2013 +0200
> 
>     Initialize SortFieldWriter#run_tick to 1
>     
>     Make sure we never use a run_tick of 0.
> 
> commit a5aa40a93d0b2542dc04afd387619b015cf273b5
> Author: Nick Wellnhofer 
> <
> [email protected]
> >
> Date:   Thu Sep 26 02:04:42 2013 +0200
> 
>     Make SortFieldWriter#Refill obey the memory limit
>     
>     The old logic was broken.
> 
> commit 0e49ac6f6ca45860d5598060b89bdac3fbfed2db
> Author: Nick Wellnhofer 
> <
> [email protected]
> >
> Date:   Thu Sep 26 01:25:52 2013 +0200
> 
>     Don't sort documents twice in SortFieldWriter#Refill
>     
>     The doc_ids are already sorted in S_lazy_init_sorted_ids. We only have
>     to make sure that S_lazy_init_sorted_ids uses the doc_id as secondary
>     sort key.

But when I look at commit you replied with
"https://git-wip-us.apache.org/repos/asf?p=lucy.git;a=commitdiff;h=0e49ac6f6ca45860d5598060b89bdac3fbfed2db";
and looking at the file SortFieldWriter.c here:
https://git-wip-us.apache.org/repos/asf?p=lucy.git;a=blob;f=core/Lucy/Index/SortFieldWriter.c;h=6ae42d10a3e62f6e99058d668cb0b90fd91b53b1;hb=0e49ac6f6ca45860d5598060b89bdac3fbfed2db

I dont see the function "S_compare_doc_ids_by_ord_rev" in my branch. I've
made sure to do a `git remote update` and merge but it was up to date. Is
there something thaat I need to do extra?

Attached is my SortFieldWriter.c file  SortFieldWriter.c
<http://lucene.472066.n3.nabble.com/file/n4115359/SortFieldWriter.c>  

Any help is always appreciated.



--
View this message in context: 
http://lucene.472066.n3.nabble.com/32-bit-CentOS-Indexing-Question-tp4114036p4115359.html
Sent from the lucy-user mailing list archive at Nabble.com.

Reply via email to