Hi John, I believe that the answer is the 2nd option you listed: documents indexed after the schema change should show up in facets.
On Tue, Jun 11, 2019 at 5:26 PM John Davis <johndavis925...@gmail.com> wrote: > > Solr folks mentioned this is dependent on lucene's behavior of merging > segments. I am not sure where the right answer lies.. > > On Tue, Jun 11, 2019 at 12:01 AM Adrien Grand <jpou...@gmail.com> wrote: > > > Hi John, > > > > You probably meant to send this to the solr-user@lucene.a.o list, this > > java-user@ mailing list is for questions about Lucene. > > > > On Tue, Jun 11, 2019 at 4:54 AM John Davis <johndavis925...@gmail.com> > > wrote: > > > > > > Hi there, > > > We recently changed a field from TextField no docValues to > > > SortableTextField which has docValues enabled by default. Once we did > > this > > > we do not see any facet values for the field. I know that once all the > > docs > > > are re-indexed facets should work again, however can someone clarify the > > > current logic of lucene how facets will be computed when schema is > > changed > > > from no docValues to docValues and vice-versa? > > > > > > 1. Until ALL the docs are re-indexed, no facets will be returned? > > > 2. Once certain fraction of docs/segments are re-indexed, those facets > > will > > > be returned? > > > 3. Something else? > > > > > > Thanks > > > > > > > > -- > > Adrien > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org > > For additional commands, e-mail: java-user-h...@lucene.apache.org > > > > -- Adrien --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org