djencks commented on issue #163: Pr/algolia search
URL: https://github.com/apache/camel-website/pull/163#issuecomment-591666740
 
 
   I’m just learning about search in Antora…. is the camel site too big for 
lunr search?
   
   thanks
   David Jencks
   
   > On Feb 26, 2020, at 1:39 PM, Zoran Regvart <[email protected]> 
wrote:
   > 
   > Preview is here 
<https://builds.apache.org/job/Camel.website/job/PR-163/Preview/>. I think we 
could do with a bit of styling on the search results, currently it looks like 
this:
   > 
   >  
<https://user-images.githubusercontent.com/1306050/75389975-c68c6200-58e7-11ea-85f3-4820c948e76e.png>
   > There's also an error that gets logged in the browser console:
   > 
   > TypeError: n._snippetResult is undefined
   > It's good to see that the V4 of the Algolia search JavaScript is only 
4.8KB (previous was 100+KB). I don't think it would load on the website due to 
content security policy:
   > 
   > 
https://github.com/apache/camel-website/blob/d35d9e3be385a7a4bdf958a7b28d8a2bfaa15999/static/.htaccess#L1326
 
<https://github.com/apache/camel-website/blob/d35d9e3be385a7a4bdf958a7b28d8a2bfaa15999/static/.htaccess#L1326>
   > We need to serve the resources from the same server, that would mean that 
we need to build/bundle with the theme (IIRC).
   > 
   > I wonder why we don't get the component reference indexed, I think in the 
end the best outcome for us would be to generate the index ourselves, but this 
is a good start.
   > 
   > —
   > You are receiving this because you are subscribed to this thread.
   > Reply to this email directly, view it on GitHub 
<https://github.com/apache/camel-website/pull/163?email_source=notifications&email_token=AAELDXSTGVOKO7AXWRESSSDRE3ORTA5CNFSM4K4LPXCKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENB7XIA#issuecomment-591657888>,
 or unsubscribe 
<https://github.com/notifications/unsubscribe-auth/AAELDXWEGORDSPLDSJU5DHTRE3ORTANCNFSM4K4LPXCA>.
   > 
   
   

----------------------------------------------------------------
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]


With regards,
Apache Git Services

Reply via email to