EvanLjp edited a comment on issue #5023: URL: https://github.com/apache/skywalking/issues/5023#issuecomment-655671523
_Basically, you need to consider when you do trace_id query, there is no timestamp._ why not to add a time key for backend. i read the[PR](https://github.com/apache/skywalking/pull/4863) ,i don't think parse time from traceId is a good idea.for example the traceId in nginx lua agent. so my advice: 1. trace query with time range .the index time is format between [queryStartTime -1h,queryEndTime +1h] 2.trace query without time range: add a time key when traceID query 3. if the advice2 is not implement, Short term plan: if have 7 segment index, from 7.1 to 7.7 ,we can search every index from 7.7 to 7.1 .if hits some data,we also to search the prefix one (when cross day) . ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
