Jump to content

What happened to the Search system?


TCWT

Recommended Posts

[quote name='bfarber' date='16 June 2009 - 12:18 PM' timestamp='1245172700' post='1810741']
Relevance is then determined by sphinx, though I personally feel sphinx has a slightly better algorithm to determine relevance myself.

Will be interesting to compare the two..

..Al

Link to comment
Share on other sites

I agree with the people that said that not showing the whole post in search results as it is done in IPB 2.3.x is a step backwards. Before it was so easy to scan through the posts that were listed in the results and find relevant information that was needed. Now it is necessary to click on every single result you think (hope) might contain useful information.

That's how vb works and I despise it.


Riiikkkiiii... >_< :P

Link to comment
Share on other sites

[quote name='sparc' date='16 June 2009 - 02:45 PM' timestamp='1245177922' post='1810785']
Do the IPS forums use sphinx?


No, we are not using Sphinx on the company forums. I've toyed with the idea (I'd have to get those that manage the servers to agree with it, as well) but the majority of our customers use the out-of-the-box mysql fulltext search method and it's usually best for us to keep as close a configuration as the rest of our customers. It helps us to spot issues that affect the majority of our customers quicker that way.

Link to comment
Share on other sites

Ah ok that makes sense. Thought there might be a chance since sphinx seems more officially supported now. Didn't realize it even adjusted the weighting of terms as well.

So, i guess things won't be as bad on our live board since we use sphinx. thanks for the heads up.

Link to comment
Share on other sites

  • 2 weeks later...

size of post, that shown is not big code for waiting many months till 3.1 ...
if knew the code it may be realized under 1 day term, for other code must be explored firstly ... and may be done mod for system for output options ...

Link to comment
Share on other sites

if you can't (was waited half of week) : that done in 30 minutes without previous code knowledge ...

mine patch for code:



that is so hard, so have been sayed "not now"?

--- admin/applications/core/modules_public/search/search.php        2009-06-23 16:27:31.000000000 +0400

+++ admin/applications/core/modules_public/search/search.php  2009-07-02 15:26:26.000000000 +0400

@@ -915,12 +915,18 @@ class public_core_search_search extends

                IPSText::getTextClass( 'bbcode' )->parsing_mgroup                       = $r['member_group_id'];

                IPSText::getTextClass( 'bbcode' )->parsing_mgroup_others        = $r['mgroup_others'];


+               /* Highlight */

+               if ($this->request['search_result_long']==1) {

+                   IPSText::getTextClass( 'bbcode' )->parse_bbcode                             = 1;

+                   $r['content']       = IPSText::searchHighlight( $r['content'], $search_term );

+                   $r['content']       = IPSText::getTextClass('bbcode')->preDisplayParse($r['content']);

+               } else {

                $r['content'] = strip_tags( IPSText::getTextClass( 'bbcode' )->stripAllTags( $r['content'] ) );

                $r['content'] = str_replace( array( '&lt;br&gt;', '&lt;br /&gt;' ), '', $r['content'] );

                $r['content'] = trim( str_replace( array( "\n\n\n", "\n\n" ), "\n", str_replace( "\r", '', $r['content'] ) ) );


-               /* Highlight */

-               $r['content']       = IPSText::searchHighlight( $this->_searchTruncate( $r['content'], $search_term ), $search_term );

+                   $r['content']       = IPSText::searchHighlight( $this->_searchTruncate( $r['content'], $search_term ), $search_term );

+               }

                $r['content_title'] = IPSText::searchHighlight( $r['content_title'], $search_term );


                /* Check to see if the display plugin is loaded */


and patch for template

after:

<label for='date_start'>{$this->lang->words['find_date']}:</label>

<input type='text' class='input_text date' name='search_date_start' id='date_start' value='{$this->request['_search_date_start']}' /> <img src='{$this->settings['img_url']}/date.png' alt='{$this->lang->words['icon']}' id='date_start_icon' style='cursor: pointer' />&nbsp;

<strong>{$this->lang->words['to']}</strong>&nbsp;<input type='text' class='input_text date' name='search_date_end' id='date_end' value='{$this->request['_search_date_end']}' /> <img src='{$this->settings['img_url']}/date.png' alt='{$this->lang->words['icon']}' id='date_end_icon' style='cursor: pointer' /></li>

add:

<li>

<label>&nbsp;</label>

<input type='checkbox' class='input_check' name='search_result_long' id='result_long' value='1' />{$this->lang->words['result_long']}

</li>

and add language variable

system - public_search - "result_long" => "Show Full result text."
Link to comment
Share on other sites

[quote name='DaLiV' date='02 July 2009 - 06:39 AM' timestamp='1246534787' post='1818853']
if you can't (was waited half of week) : that done in 30 minutes without previous code knowledge ...

Thank you for this, I will try it out. :)

..Al

Link to comment
Share on other sites

V2. in first was not continuation on second pages.

--- admin/applications/core/modules_public/search/search.php        2009-06-23 16:27:31.000000000 +0400

+++ admin/applications/core/modules_public/search/search.php  2009-07-02 17:19:16.000000000 +0400

                /* Do Pagination Stuff */

                $st       = isset( $this->request['st'] ) ? intval( $this->request['st'] ) : 0;

                $per_page = $this->settings['search_per_page'] ? $this->settings['search_per_page'] : 25;

-

+               $srlong = isset( $this->request['search_result_long'] ) ? intval( $this->request['search_result_long'] ) : 0;

                $links = $this->registry->output->generatePagination( array(

                                                                                                                                        'totalItems'         => $total_results,

                                                                                                                                        'itemsPerPage'       => $per_page,

                                                                                                                                        'currentStartValue'  => $st,

-                                                                                                                                       'baseUrl'            => $this->_buildURLString() . '&amp;search_filter_app[' . $traditionalKey . ']=1',

+                                                                                                                                       'baseUrl'            => $this->_buildURLString() . '&amp;search_filter_app[' . $traditionalKey . ']=1'.'&amp;search_result_long='.$srlong,

                                                                                                                        )       );


                /* Showing */

@@ -915,12 +915,18 @@ class public_core_search_search extends

                IPSText::getTextClass( 'bbcode' )->parsing_mgroup                       = $r['member_group_id'];

                IPSText::getTextClass( 'bbcode' )->parsing_mgroup_others        = $r['mgroup_others'];


+               /* Highlight */

+               if ($this->request['search_result_long']==1) {

+                   IPSText::getTextClass( 'bbcode' )->parse_bbcode                             = 1;

+                   $r['content']       = IPSText::searchHighlight( $r['content'], $search_term );

+                   $r['content']       = IPSText::getTextClass('bbcode')->preDisplayParse($r['content']);

+               } else {

                $r['content'] = strip_tags( IPSText::getTextClass( 'bbcode' )->stripAllTags( $r['content'] ) );

                $r['content'] = str_replace( array( '&lt;br&gt;', '&lt;br /&gt;' ), '', $r['content'] );

                $r['content'] = trim( str_replace( array( "\n\n\n", "\n\n" ), "\n", str_replace( "\r", '', $r['content'] ) ) );


-               /* Highlight */

-               $r['content']       = IPSText::searchHighlight( $this->_searchTruncate( $r['content'], $search_term ), $search_term );

+                   $r['content']       = IPSText::searchHighlight( $this->_searchTruncate( $r['content'], $search_term ), $search_term );

+               }

                $r['content_title'] = IPSText::searchHighlight( $r['content_title'], $search_term );


                /* Check to see if the display plugin is loaded */

Link to comment
Share on other sites

that not possible.
was terrible support from IPS (problem was not solved in ASAP terms, which must be for satisfaction of customers in normal environment) , and i'm currently not "Active Customer" , so they blocked access to part of resources on site (including logging to mods area you noted /howewer it's customer-2-customer area/, paying for mods made by other customers - is also abnormal ... persist other resources that share that for free.).

sorry for small offtopic.

Link to comment
Share on other sites

[quote name='DaLiV' date='03 July 2009 - 02:40 AM' timestamp='1246542019' post='1818904']
that not possible.
was terrible support from IPS (problem was not solved in ASAP terms, which must be for satisfaction of customers in normal environment) , and i'm currently not "Active Customer" , so they blocked access to part of resources on site (including logging to mods area you noted /howewer it's customer-2-customer area/, paying for mods made by other customers - is also abnormal ... persist other resources that share that for free.).

sorry for small offtopic.


Daliv, it's a bit blasted ridiculous to claim that they have "terrible support" simply because they didn't incorporate your feature request into the next version of the software (which came out not all that long after they told you outright they wouldn't be able to do it). Especially when you consider that for IPS to include code in the base release, they've got to make sure that it's bug free, secure, and all that jazz. Code may take half an hour to write, but you're lucky if you could test and audit it in less than two weeks.

It's also a bit ridiculous that you're complaining that they don't let you use their bandwidth for free to distribute and download modifications. Go expire a vBulletin leased license and see if you can still download from vB.org.

Link to comment
Share on other sites

[quote name='DaLiV' date='02 July 2009 - 09:40 AM' timestamp='1246542019' post='1818904']
was terrible support from IPS (problem was not solved in ASAP terms, which must be for satisfaction of customers in normal environment) , and i'm currently not "Active Customer" , so they blocked access to part of resources on site (including logging to mods area you noted /howewer it's customer-2-customer area/, paying for mods made by other customers - is also abnormal ... persist other resources that share that for free.).

[quote name='DaLiV' date='03 July 2009 - 11:45 AM' timestamp='1246635912' post='1819583']
was not fetaure request - but bug correction request.

None the less, if you have an issue or concern with IPS, then you should either address it privately (in email to the IPS management) or make a respectful topic about your concerns. I'm not saying that your post is not respectful (I'm not giving an opinion on it), just you're likely to get better results if you do this in email or in a topic about this issue.

Link to comment
Share on other sites

i'm quite understand ... all want's only positive information ... but nothing in that world is without negative ... and if any is silence about negatives - that still persist.
think need to close that topic , as it fully go to offtopic ...
and thinking you agree with that :
mine posts have only related to information. anyone ask to post mine work to closed area ... to which i'm have no access ... and that is not correct to all other peoples ...

Link to comment
Share on other sites

[quote name='DaLiV' date='05 July 2009 - 05:54 AM' timestamp='1246787665' post='1820586']
anyone ask to post mine work to closed area ... to which i'm have no access ... and that is not correct to all other peoples ...

So you're saying that the customer only areas should be accessible to everyone?

Link to comment
Share on other sites

[quote name='.Wolfie' date='05 July 2009 - 07:10 PM' timestamp='1246810244' post='1820712']
So you're saying that the customer only areas should be accessible to everyone?

customers also is two types as you must knew ... with "Lifetime license" (with active and passive support subscruption) and "yearly license" and one customers is "CUSTOMERS" ... but other is (no censored words)
in your mean is "lifetime license" is not customers ... i'll not pay for support, that supporter can't provide with quality (or if that not needed).

Link to comment
Share on other sites

I have a lifetime license AND a license that I have to renew, and yes I do renew it from time to time, so that I can have two boards that are running the latest software versions (legit). I also have licenses for each of the three add-ons. So I definitely contribute support to the company and even if I just lingered on that lifetime license, I'm still considered an active customer so yeah, I qualify to get access to those elite areas. If stuff is meant as a perk, then how is it a perk if there are no restrictions or limits to getting access to it?

Link to comment
Share on other sites

[quote name='DaLiV' date='06 July 2009 - 02:33 AM' timestamp='1246861984' post='1820982']
yes you have, but other not - so don't invite to post there if many may not access to that.
agree to that: poster must check for customer state before inviting to closed P2P areas ?

No, because there are some people who come on, asking for support and many people (myself included) don't like to help someone out if we can't be certain that they are running a legit board (not referring to you). If someone has an active license and needs support, then they can go into the P2P forums and get help there. Otherwise, how do we know that they didn't get a pirated copy of the board and want free support for it as well? A couple of the perks of an active customer status is the P2P support and the Resources site.

Link to comment
Share on other sites

but i'm legitimate user and have no access as you understand ... so anything is wrong about that P2P ...
support p2p is not official - and must not be payed to IPS, as other peoples is support providers ... you pay to ips but support get from outside :lol: ... personally i'm close that topic for me ... as it more and more is offtopic (subjective reality of peoples is diffirent - so we can't understood one of other) .

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...