Re: Some questions about gin index

2025-06-06 Thread Andy Fan
Tom Lane writes: > Andy Fan writes: >> When reading the code for Gin Index, there are lots of confusion about >> some concepts, so here are some questions in my mind. > > At least some of these things are explained in gin.sgml. I think the complexity of gin comes from the operators on the set o

Re: Some questions about gin index

2025-06-05 Thread Tom Lane
Andy Fan writes: > When reading the code for Gin Index, there are lots of confusion about > some concepts, so here are some questions in my mind. At least some of these things are explained in gin.sgml. regards, tom lane

Some questions about gin index

2025-06-04 Thread Andy Fan
Hi, When reading the code for Gin Index, there are lots of confusion about some concepts, so here are some questions in my mind. 1. search mode. /* * searchMode settings for extractQueryFn. */ #define GIN_SEARCH_MODE_DEFAULT 0 #define GIN_SEARCH_MODE_INCLUDE_EMPTY 1 #defin