-
I was looking to see if I should port my collection of txt files to massCode, and in testing it out, I found that the descriptions weren't searched. I'll give you an example, I wrote title: "Pandas timestamp string" pd.Timestamp('now').strftime("%Y%m%d%H%M%S%f") I would have expected if I were to search "format" it would have found that snippet, but no. Is this the intended behavior? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
The search is done through a third-party service https://www.algolia.com. Indexing takes place once every 24 hours. |
Beta Was this translation helpful? Give feedback.
-
I can move the description of the snippet from the description to the body of the Snippet. Having done that I can verify that works for my above use case. So I think we can close the question. Thank you for the prompt reply! However, I have to admit almost everything else in your answer confuses me. When I run massCode on my laptop, why would algolia be used to search my snippets locally? But it's only indexed once per 24 hours? I think both of these things probably aren't true as it can find edits that I've made to my snippets immediately. Also, why would SEO be involved with my personal snippets? I'm not looking for any search engine access to what I've written anyway. Finally, when you say description from front matter is not a descriptive part of the snippet category page. I am not writing or editing anything like a category page, I'm talking about a snippet itself. |
Beta Was this translation helpful? Give feedback.
-
I was talking about the app massCode, not massCode.io the website -- so my question did not make sense on multiple levels in this context. |
Beta Was this translation helpful? Give feedback.
I was talking about the app massCode, not massCode.io the website -- so my question did not make sense on multiple levels in this context.