Thanks Gus for the inputs. Yes, we are trying to fine tune the existing
search functions using solr and we are using 8.4.1. I was able to find the
place in the code which is causing this issue. It is fixed now.

On 2022/07/18 12:47:19 Gus Heck wrote:
> Hi Poorna,
>
> I think it would be helpful if you backed up a bit and told us exactly
what
> version of solr you are using, exactly what api you are calling (examples
> please). Finally please detail *how* you are looking at the field cache.
> You also haven't told us much about where you are in the process of
> deploying search, looking at the field cache is  a fine tuning type of
> thing, so if you are just trying to get things running this might not be
> where you want to focus your efforts, if you are fine tuning something
> already working then maybe you are in the right place....
>
> I notice you referred to solrconfg, and there is a file called
> solrconfig.xml but it would not be where fields are declared (it is where
> caches get declared however). Fields would be declared in the
> managed_schema file or schema.xml (different names for the same thing
> depending on what version, and some other configuration options)
>
> -Gus
>
> On Mon, Jul 18, 2022 at 4:44 AM Poorna Murali <po...@gmail.com>
> wrote:
>
> > Hi Andy,
> >
> > There is a  solr search api which does not have either sorting or
faceting
> > done with id field. But, after we execute the API, we do see id field
entry
> > in field cache.  I checked the solrconfig file too, we have not added
any
> > id configuration that could have caused this.
> > Please help me clarify how this is happening.
> >
> > Thanks,
> > Poorna
> >
> > On 2022/07/15 19:19:10 Andy Lester wrote:
> > >
> > > > I would like to know if solr adds faceting fields by default when
we do
> > any
> > > > search. We have an id field which is  still coming up in field cache
> > even
> > > > after it is removed from sorting and faceting queries in the code.
> > > > Therefore, I would like to know if solr is adding this by any
chance.
> > >
> > > No, there is no faceting by default.
> > >
> > > Can you give us more details about the query you’re calling and how
you
> > have unexpected activity in the field cache?
> > >
> > > You should be able to narrow it down to where you run one query, and
it
> > shows things in the field cache. When you get that, then show us the
query,
> > and we can help figure out why it’s not doing what you expect.
> > >
> > > Andy
> >
>
>
> --
> http://www.needhamsoftware.com (work)
> http://www.the111shift.com (play)
>

Reply via email to