Using QueryStringQuery, if I searched on "_all:smith*" and did a sort-
by-name, without specifying fields to sort on using
QueryStringQuery.field() , the sort would span across all 2000 results
returned, paged in four 500 row pages. The pages were sorted correctly
The first page: A to G second: G to P third: P to W fourth:
everything else
Now that I search on "smith*" and then specify 4 fields using
QueryStringQuery.field() and one boosted field, I find that I get 4
pages each sorted A-to-Z. So the first page starts with A and ends in
Z, the second page starts with A and ends in Z, and the third.
On Friday, June 3, 2011 at 10:43 PM, davrob2 wrote:
Hi,
Using QueryStringQuery, if I searched on "_all:smith*" and did a sort-
by-name, without specifying fields to sort on using
QueryStringQuery.field() , the sort would span across all 2000 results
returned, paged in four 500 row pages. The pages were sorted correctly
The first page: A to G second: G to P third: P to W fourth:
everything else
Now that I search on "smith*" and then specify 4 fields using
QueryStringQuery.field() and one boosted field, I find that I get 4
pages each sorted A-to-Z. So the first page starts with A and ends in
Z, the second page starts with A and ends in Z, and the third.
On Friday, June 3, 2011 at 10:43 PM, davrob2 wrote:
Hi,
Using QueryStringQuery, if I searched on "_all:smith*" and did a sort-
by-name, without specifying fields to sort on using
QueryStringQuery.field() , the sort would span across all 2000 results
returned, paged in four 500 row pages. The pages were sorted correctly
The first page: A to G second: G to P third: P to W fourth:
everything else
Now that I search on "smith*" and then specify 4 fields using
QueryStringQuery.field() and one boosted field, I find that I get 4
pages each sorted A-to-Z. So the first page starts with A and ends in
Z, the second page starts with A and ends in Z, and the third.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.