Home » Forum
  • If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Announcement

Collapse
No announcement yet.

Only 1st hit on page is showing

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Only 1st hit on page is showing

    Using Version 6 (build 1009), w/CGI

    When searching my .htm files for a particular term that I know occurs multiple times in a given file, the result set only shows the first occurrence of the term within the file.

    I've looked to see if their is some 'consolidation' option I have overlooked, but don't see anything.

    I would like all occurrences to have a result set entry.

    Please advise...

  • #2
    See previous forum threads like the following:
    http://www.wrensoft.com/forum/showthread.php?t=1567
    http://www.wrensoft.com/forum/showthread.php?t=1907
    http://www.wrensoft.com/forum/showthread.php?t=1924
    ... etc.

    If you want to help your users find the words on the actual page they land on, you can consider using the "Jump to highlighting" script provided:
    Q. How do I enable Jump to match and highlighting within documents?

    There is also a similar feature that you can enable for PDF files, which will work within Acrobat Reader.
    --Ray
    Wrensoft Web Software
    Sydney, Australia
    Zoom Search Engine

    Comment


    • #3
      Only 1st hit on page is showing

      I am building a research website where it is important that the context of EVERY searched term is provided, ala Copernic.

      I prefer your implementation (for CD/DVD distribution) but this limitation is problematic.

      Can you suggest a workaround?

      Comment


      • #4
        To be honest, I don't think I've seen any website search engine that displays EVERY hit in context. This would be completely unusable for most sites. A search for a common word would practically dump the entire page content for each result.

        I had a look at Copernic, and I couldn't find an example of this. They didn't even seem to have a site search for their own website, which is a bit ironic.

        As explained in the links above, we try to reach a compromise between a practical summary and a detailed one. We return more than one fragment of context when there are multiple search terms. More than one (as opposed to ALL) fragments for a single search term would be nice, but it is not currently possible.

        No, there is no easy way to add additional context fragments for a single search term.

        If you have "fields" of data that you need to be listed per search result, perhaps you should consider the "Custom Meta Fields" option. It's hard for me to tell whether this applies to you without seeing your website and what you have in mind. But this would allow you to show a specific list of attributes/fields for each search result, which would be better suited in some cases.
        Last edited by Ray; 02-20-2009, 04:20 AM.
        --Ray
        Wrensoft Web Software
        Sydney, Australia
        Zoom Search Engine

        Comment


        • #5
          Version 6 (build 1009) w/CGI

          Website: www.TheoSoft.info

          This is problematic.

          For example, with stemming turned on, I search for the term 'spiritize'. In the results set I get a list of pages where any derivative exists - BUT ONLY THE FIRST-ENCOUNTERED DERIVATIVE. Mostly I see hits for 'spirit'. I see no hits for 'spiritize' b/c these typically appear in the actual page after the word 'spirit'.

          If the first hit of ANY/ALL DERIVATIVES could be displayed in the result set -- this would somewhat mitigate the issue.

          Also, an option for an EXACT MATCH, even if stemming is selected, would be helpful.

          NOTE: Depending on when you visit my website, stemming may be on or off, as I continue my experimentation.

          Appreciate your reply...

          Comment


          • #6
            Stemming is either off or on, and this setting is selected when the index is build. And the setting modifies the structure of the index file so swapping this setting requires the index to be rebuilt. (And 99% of users would not understand an option on the search form to stem or not, if there was such a thing. Typical search users already fail to understand the more basic wildcard and phrase searching).

            Comment


            • #7
              Just so I'm sure we are on the same page... And BTW, I fully agree with your comments about not bothering the user to understand whether stemming is on or off.. or what the heck stemming really is

              But is seems that a check box option to perform an EXACT match -- especially when stemming is ON -- would be a meaningful enhancement.

              For your consideration...

              Comment

              Working...
              X