question

Upvotes
Accepted
32 5 3 7

Document lastModified, createdDate, docDate meaning

On LinkQ project when we request entity/search for document we can see in the responce several dates:

"lastModified_attr_dt":

"createdDate_attr_dt":

"docDate_attr":

What does each mean?

Which one is related to document creation? What modifications can be done for news to have last modified date?

data-fusiondocumentdate
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

· Write an Answer
Upvotes
Accepted
1.2k 8 11 8

Source of all the predicates can be tracked down using

GET /datafusion/api/context/list?includeAll=false

lastModified_attr_dt and createdDate_attr_dt can be used interchangeably. It's essentially when that document gets indexed by solr so it's sensitive to re-indexing. We will be adding an ingest timestamp to make it more reliable in the future.

docDate_attr comes from NFD but it's a string ao Solr date operations will not work on it. NFD sends a copy of an updated article (duplicate) and we do not reconcile the copies in any way.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Does it mean to filter news by time period we can rely on "createdDate_attr_dt"?

Yes. Please let us know if you find any inconsistencies.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.