I am quite sure that the binary flag will be faster as you will just get a gigantic vector pre-loaded into memory. The problem starts if you are going to have lots of those prefixes. Then, the memory requirements may become an issue. Then, the facet becomes more flexible as it uses the same list for any arbitrary prefix.
There are my thoughts (as requested). I haven't tested this in production. Regards, Alex. Personal website: http://www.outerthoughts.com/ LinkedIn: http://www.linkedin.com/in/alexandrerafalovitch - Time is the quality of nature that keeps events from happening all at once. Lately, it doesn't seem to be working. (Anonymous - via GTD book) On Sat, Feb 1, 2014 at 11:20 AM, William Bell <[email protected]> wrote: > What should be better for performance to get those facets that begins with > A? > > 1. > facet=true&facet.field=conditions&facet.prefix=A > > 2. > When indexing create a new field conditions_A, and use it: > facet=true&facet.field=conditions_A > > Thoughts? > > > > -- > Bill Bell > [email protected] > cell 720-256-8076
