On Mon, Jan 16, 2006 at 08:47:46AM -0800, Carmelo Carchedi wrote:
> If I need to search document by year in a lot of XML files,
> is it better to search using -L 20050000 20051231 in a date field like
> or using year_doc=(2005) in a filed like <year_doc>2005</year_doc>
You might want to test both, but I suspect searching by a pre-set year
is much better.
The first (using -L) has to fetch all the results, basically sorts
them by year and then removes the ones that don't match. But the
second option uses an index to only select the records with that year.
Unsubscribe from or help with the swish-e list:
Help with Swish-e:
Received on Mon Jan 16 09:13:33 2006