Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Az Troenkrasnow
    @troenkrasnow_twitter
    Does anyone have any tips they have found helpful on how to get site search to learn how to display better results? For example if we have a product called "shirt" but also blogs about shirts, books about shirts, and for whatever reason pants that have the word shirt in the title... obviously we would want the search to prioritize things that have shirt in the title and are also in the category titled shirt... any ideas?
    tomesposito92
    @tomesposito92
    You could probably boost the search results by category
    go testing
    @gotest49_gitlab
    I have sitesearch trial and having hard time to show the result in embed
    Here is my javascript
    var ss360Config = {
    siteId: 'mysite',
    searchBox: { selector: '#searchBox' },
    results: {
    embedConfig: {
    'url': '/site-search',
    'contentBlock': '.page-content-body'
    },
    showSearchBoxEmbed: true,
    },
    };
    <section role="search" data-ss360="true">
    <input type="search" id="searchBox">
    <button id="searchButton"></button>
    </section>
    any help would be appreciated
    Olesya
    @lesyaelf_gitlab
    hi @gotest49_gitlab, what's your actual site domain please? mysite is not a valid site ID.
    @tomesposito92 thanks for jumping in!
    go testing
    @gotest49_gitlab
    I know that, I left it blank
    Olesya
    @lesyaelf_gitlab
    please dm it to me so we I could take a look @gotest49_gitlab
    @troenkrasnow_twitter boosting by URL pattern would actually be tricky with Lightspeed as we don't really crawl your site but communicate directly with Lightspeed database. We already have a bunch of baked-in algorithms that e.g. prioritize content matches in titles and categories.
    go testing
    @gotest49_gitlab
    Olesya
    @lesyaelf_gitlab
    @troenkrasnow_twitter I actually just tested results from your account and I seem to be getting relevant results for "shirt". Could you email some screenshots with what you see and what you expect to see instead?
    go testing
    @gotest49_gitlab
    I am talking about showing the result in fullscreen
    1 reply
    connectionsacademy.com
    with 's'
    Olesya
    @lesyaelf_gitlab
    Thanks, found it. Do you have a test page where this is set up? Also, fullscreen isn't the same as embed. Which one do you want to use?
    go testing
    @gotest49_gitlab
    I am interested embed
    yeah
    tomesposito92
    @tomesposito92
    @lesyaelf_gitlab Not a problem!
    Jaroslav Vaňkát
    @JVankat
    Hey @lawdoggy99 - we've just added a configuration option to highlight partial query matches, you just need to add "tokenize": true to your queryTerm config in the Configuration editor.
    ClausFT
    @ClausFT
    Hi, how do I target a data attribute in xpath when creating a data point? I've tried to setup the following: //*[@id="id-recipeNutrition-0"]//*[@data-ss360-data-point="recipe-nutrition-protein"] but it does not seem to find the data point
    Jaroslav Vaňkát
    @JVankat
    Hi @ClausFT - do you have a sample page, where I could take a look? Not sure what exactly are you targeting, but if you want to target the node by a data attribute and extract a different data attribute something like this should work: //*[@id="id-recipeNutrition-0"]//*[@data-ss360-data-point="recipe-nutrition-protein"]/@data-ss360-data-point-value
    6 replies
    Charlie Holder
    @charlieholder_twitter
    Has anyone found duplicate results showing up with a 443 port? i.e. example.com/page and example.com:443/page. It's a recent find and we can't determine when it started showing up or why.
    Jaroslav Vaňkát
    @JVankat
    Hi @charlieholder_twitter can you please send me your siteId? I will take a look.
    Charlie Holder
    @charlieholder_twitter
    Hi. Thanks. Sent site in DM.
    pvollmar
    @pvollmar
    I am modifying the look of the More Result Button to include HTML that allows the button to conform to Google's Material Design specs by including an icon along with optional text. This works fine, but when the "Show More Results" button is clicked, the additional results are displayed, but another "Show More Results" button is appended at the bottom of the results when no more results are present. Also, the button is somewhat distorted, showing the icon but not the text. The test page is at http://test.stoutbowman.com/search3.html - enter "social security" as the search terms. In my javascript file I have added the following for the icon and text:

    Sorry, I hit enter too soon. Here's the code I added to my search javascript file:

    moreResultsButton: '<span class="fab-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-arrow-bar-to-down" width="24" height="24" viewBox="0 0 24 24" stroke-width="1.5" stroke="#003976" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><line x1="4" y1="20" x2="20" y2="20" /><line x1="12" y1="14" x2="12" y2="4" /><line x1="12" y1="14" x2="16" y2="10" /><line x1="12" y1="14" x2="8" y2="10" /></svg></span><span class="fab-text">&nbsp;&nbsp;Show more results</span>',

    I am using V12 because I had to make extensive changes to the distributed JS files to allow for a strict Content Security Policy that disallows inline CSS.

    Jaroslav Vaňkát
    @JVankat
    Hi @pvollmar could you try wrapping the whole moreResultsButton in a span? Otherwise it's difficult to debug, since currently your test page doesn't show the one you've posted over here for me.
    <span><span class="fab-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-arrow-bar-to-down" width="24" height="24" viewBox="0 0 24 24" stroke-width="1.5" stroke="#003976" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><line x1="4" y1="20" x2="20" y2="20"></line><line x1="12" y1="14" x2="12" y2="4"></line><line x1="12" y1="14" x2="16" y2="10"></line><line x1="12" y1="14" x2="8" y2="10"></line></svg></span><span class="fab-text">&nbsp;&nbsp;Show more results</span></span>
    go testing
    @gotest49_gitlab
    Hi Folks, I am setting up content group to limit the search for specific site
    but result seems to be picking up other results
    Jaroslav Vaňkát
    @JVankat
    Hi @gotest49_gitlab can you send me your siteId and an example of what exactly does not work?
    go testing
    @gotest49_gitlab
    @gotest49_gitlab
    Hi Folks, I am setting up content group to limit the search for specific site
    but result seems to be picking up other results
    pvollmar
    @pvollmar
    @JVankat The moreResultsButton setting in search7.js may have been commented out when you tried it, as I was trying to confirm that it was that setting that was causing the problem. I have added the additional span tag to the setting, and that is what is currently at the URL I gave you.
    Jaroslav Vaňkát
    @JVankat
    @pvollmar I see that now, perfect, I'll have to debug why this happens, I will get back to you tomorrow.
    Jaroslav Vaňkát
    @JVankat
    @pvollmar okay, I've found out why this happens, the easiest/quickest fix would be adding .ss360-more-results > span {pointer-events: none;} to your stylesheets, please let me know whether this works for you.
    pvollmar
    @pvollmar
    @JVankat Yes, that works. Thanks!
    Eric Palmer
    @DaddyOh

    The University of Richmond’s ss360 usage is now live: https://search.richmond.edu/
    https://admissions.richmond.edu/ are good places to start. On this site we allow the user to pin (filter) to search just that site.

    Some query mappings

    https://search.richmond.edu/?search=covid-19+dashboard
    https://search.richmond.edu/?search=library

    Thanks for you help
    BTW - we are using the API
    and have >200 qeury mappings
    Jaroslav Vaňkát
    @JVankat
    @DaddyOh nice integration, thanks for letting us know! FYI I'm getting a CORS error when trying to search on admissions.richmond.edu
    image.png
    Eric Palmer
    @DaddyOh
    @JVankat Thanks - will fix that
    Eric Palmer
    @DaddyOh
    @JVankat what browser are you using. We are not getting a CORS error. Thanks.
    Jaroslav Vaňkát
    @JVankat
    @DaddyOh I'm using Google Chrome on Windows Version 86.0.4240.75 - also tried in incognito window to make sure this is not caused by any extensions.
    Pramod Venugopal
    @pramsky
    Hi there! If I have 2 separate and unrelated domains and indexes, would I need to get 2 separate accounts or can it all be done under one account ?
    Jaroslav Vaňkát
    @JVankat
    Hi @pramsky - you can keep them in a single index and split the content into multiple {content groups](https://docs.sitesearch360.com/content-groups) to be able to search only one of the sites.