From 4bc6f6cb961232dc1b30224e1c7fc875f3bc65f4 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 17 Jul 2008 10:46:03 -0400 Subject: web commit by http://jcflack.myopenid.com/ --- doc/bugs/search_plugin_and_CGI_preview.mdwn | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 doc/bugs/search_plugin_and_CGI_preview.mdwn (limited to 'doc') diff --git a/doc/bugs/search_plugin_and_CGI_preview.mdwn b/doc/bugs/search_plugin_and_CGI_preview.mdwn new file mode 100644 index 000000000..71577cd7c --- /dev/null +++ b/doc/bugs/search_plugin_and_CGI_preview.mdwn @@ -0,0 +1,17 @@ +Text on a page gets indexed when you preview. + +I discovered this by using (perhaps this is weird) the Sandbox to +preview my markup in a file that I was preparing to check in through svn. +I just deleted the original Sandbox text in the edit form, pasted in my +file, hit Preview, then cancelled the edit, leaving the Sandbox unchanged. + +After that, the Sandbox was one of the search hits for terms in the new +page, and the Sandbox excerpt in the search results showed text taken +from the new page, that was never really in the Sandbox page at all. + +Clicking Edit and then Preview on the original Sandbox page corrected +the problem, of course. + +Making the indexing only happen on a real commit might also speed the +Preview up a small amount. +--Chapman Flack -- cgit v1.2.3