We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 25663 MODX Staff
    • 12,272 Posts
    Hi cryptomancer,

    We’ll get this figured out, and also by Monday we’ll have the first Russian translation done for you as well! wink

      Ryan Thrash, MODX Co-Founder
      Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
      • 6048
      • 27 Posts
      Quote from: rthrash at Nov 18, 2005, 07:45 AM

      We’ll get this figured out, and also by Monday we’ll have the first Russian translation done for you as well! wink

      Thanx, it gonna be nice. I threw in RU file from Etomite, but MODx complains about it’s incompleteness.

      Do i need to open my host for your inspection ? Please tell me your IP adress !
        • 32241
        • 1,495 Posts
        It works just fine with me.

        I just set the landing id for the search box, and set hat page to display the result, with the given snippet syntax by zi.

        The only thing that concern me, when I use relevance searching, it won’t displayed any result, but when I use partial, it is able to display the result. Why is that? Is it a bugs?

        Another thing, is it possible to search on sub sites (specific folders), instead of the whole website found another thread about this, but it’s been like a few months ago. Hope there is someone else who had implemnt it already.

        Regards,
        Wendy Novianto
          Wendy Novianto
          [font=Verdana]PT DJAMOER Technology Media
          [font=Verdana]Xituz Media
          • 25663 MODX Staff
          • 12,272 Posts
          The searching capabilities could use some improvement. xyzvisual has dome some work here, so you might search for some of his posts.
            Ryan Thrash, MODX Co-Founder
            Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
            • 13577
            • 302 Posts
            For relevance searching to work, the words searched for need to be at least 4 characters long. So for instance a search for: "Ian has a red hat" will turn up nothing. Partial on the other hand will work. This is both a limitation of the snippet itself and of MySQL and how it handles searches. I’ve been meaning to give FlexSearchForm a boost in functionality to help alleviate this issue and make its search more natural... it’s just finding the time to do it... huh

            Also, I can’t emphasize enough that your search results page CANNOT be cached. I’ve seen that throw more people off than any other "config" error. I hope that’s the problem because it’s an easy fix wink
              Standard Disclaimer
              I could be totally wrong.
              • 6048
              • 27 Posts
              Quote from: jaredc at Nov 21, 2005, 07:15 AM

              For relevance searching to work, the words searched for need to be at least 4 characters long. So for instance a search for: "Ian has a red hat" will turn up nothing.

              My initial test search was of 3 letters - it DOES yield in ’manager’ but does NOT - in ’FlexSearchForm’. Now i tested with more letters, providently making sure the word exists - to NO result.

              Quote from: jaredc at Nov 21, 2005, 07:15 AM

              Also, I can’t emphasize enough that your search results page CANNOT be cached. I’ve seen that throw more people off than any other "config" error. I hope that’s the problem because it’s an easy fix  wink

              I checked it several times - it is right. To forestall another advice - i did checked ’searchable’ chechbox too, and it’s OK too.

              Maybe, some action need to be taken to enable search, like indexing or enabling full-text index ? Or is it done by default/automagically ?

              I just looked up (in PhpMyAdmin) for ’full-text index’ property of ’modx-site-content’ table, ’content’ field. It seems to be enabled. What else can be wrong ?

              IT SOLVED !!! By re-creating full-text index of that table/field - icon click in PhpMyAdmin, resultiing in the following SQL query:

              ALTER TABLE `modx_site_content` ADD FULLTEXT ( `content` ) 


              Please add the solution (index update) into page editing routines - i don’t dare to edit the code i don’t know by heart wink

              P.S. But anyway, English non-flexive search is of little to zero use in the Russian flexive language ;(( And it doesn’t find partials (request ’profit’ does not see word ’profitable’).
                • 33337
                • 3,975 Posts
                Hi cryptomancer !

                I am glad to know that your problem solved.

                My initial test search was of 3 letters - it DOES yield in ’manager’ but does NOT - in ’FlexSearchForm’. Now i tested with more letters, providently making sure the word exists - to NO result.

                I think Manager’s search form is different then FlexSearchForm, or I am missing something here ?

                Best regards,

                zi
                  Zaigham R - MODX Professional | Skype | Email | Twitter

                  Digging the interwebs for #MODX gems and bringing it to you. modx.link
                  • 6048
                  • 27 Posts
                  Quote from: zi at Nov 21, 2005, 08:12 AM

                  I think Manager’s search form is different then FlexSearchForm, or I am missing something here ?

                  Hmm, i was thinking what a software from one vendor uses one piece of code everythere for a similar task.

                  But if so, why not use better search, as in manager, in site’s frontend ?
                  As i discovered, it does search partials, what is very important for flexive Russian language - it creates words by adding postfixes and (lesser0 prefixes to a word’s "root", so people search for just the root.
                  But if search is non-partial, it will find only initial grammatic form (if anything at all) !
                    • 25663 MODX Staff
                    • 12,272 Posts
                    Hello croptomancer,

                    Would you please file a bug report on this. This is important for our next release I think. Thanks!
                      Ryan Thrash, MODX Co-Founder
                      Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
                      • 13577
                      • 302 Posts
                      Quote from: cryptomancer at Nov 21, 2005, 08:33 AM

                      Quote from: zi at Nov 21, 2005, 08:12 AM

                      I think Manager’s search form is different then FlexSearchForm, or I am missing something here ?
                      Indeed. It is quite different. FSF allows you the option to search relevance OR partial (the way the manager does it...I think).

                      Quote from: cryptomancer

                      But if so, why not use better search, as in manager...
                      Like many things, "better" is a matter of opinion. I wanted relevance searching based on built in MySQL features and speed, which is why I wrote FSF. I also wanted paging and wanted it to be flexible enough to use in a variety of ways. On top of that, the manager search function is NOT portable. So it’s not like you can just use it anywhere. If you like that style better tho- I’m sure you could create your own search snippet to emulate it, and then the community would have one more option!
                        Standard Disclaimer
                        I could be totally wrong.