GIGJ.COM
welcome to my space
X
Search:  
Welcome to:gigj.com
Personal Injury | Languages | Soups | Photography | Email | Prepress | Exotic Locations | Computer Games | Related articles
NAVIGATION - HOME

v1.8.0 strange search result on numbers

Published by: wktd 2009-01-07

  • I'm pretty desperate...I have a site that has products named things like P1060 etc...searching on P1060 works fine, searching on 1060 returns nothing.

    Searching on 1060 P1060 with and operator gives nothing.

    Searching on P1060 1060 with or operator gives nothing.

    Searching on 1060 P1060 with or operator gives results!!!!


    Am i missing the point here? Or are there known bugs with this?
    Should I be dropping back to an earlier version of Phpdig? if so which one?
    Any help would be greatfully received.

    thanks
    Andrew


  • Ok i did a kind of code work around :-/
    In the search.php before it does the search....i send the search string to a function and check if its a lone integer, if it is....i prefix my P in front of it and search on "P1060 1060".
    Version 1.8.2 [Archive] - New Doom Forums::
    64 posts - Last post: Oct 22, 2004I'll upload a fixed 1.8.2 later today (same version number). . I just updated from v1.8.0 to this new 1.8.2 version.
    http://forums.newdoom.com/archive/index.php/t-24501.html
    HOME

    Its pretty ugly, cos the search field displays the "P1060 1060". But hey...at least they can definitely search on the product codes now. Oh and I made the search type "any".

    function check_int($i) {
    // return 0 if not int and return 1 if $i is int
    if (ereg("^[0-9]+[.]?[0-9]*$", $i, $p)) {
    return 1;
    } else {
    return 0;
    }// end if
    }// end check_int

    if (check_int($query_string)==1)
    {
    $query_string = "P".$query_string." ".$query_string;
    $option = "any";
    //echo $query_string;
    }
    //**
    phpdigSearch($id_connect, $query_string, $option, $refine,
    News - Array.org EeePC Ubuntu Repository::
    As a result, I had to divest some funds from the "Beer Fund" and direct them to .. Upgraded madwifi to r3862; Upgraded rt2860 wireless to v1.8.0.0
    http://www.array.org/ubuntu/news.html
    HOME
    $refine_url, $lim_start, $limite, $browse,
    $site, $path, $relative_script_path, $template);


  • OOOPs I got two examples wrong there....

    Searching on 1060 P1060 with and operator gives nothing.

    Searching on P1060 1060 with or operator gives results!!!!

    Searching on 1060 P1060 with or operator gives nothing at all.


  • » Basic RadLinker Guide::
    30 posts - Last post: Mar 31, 2004When adjusting the MHz you may see some weird number jumps, RadLinker uses your true .. But I do have it while using RadClocker v1.8.0.1.
    http://www.driverheaven.net/windows-xp-2k-radeon-display-drivers/38087-basic-radlinker-guide.html
    HOME
    БАСТА - INFOSTORE.ORG::
    Apr 3, 2008 Search.Pro.v2.0.Business.PHP.NULL-DGT 2 0 7059 Скачать ключ для Toolbar for Internet Explorer MSN Search Toolbar 3DMiracle v1.73
    http://infostore.org/info/5246604
    HOME
    Ok i've noticed something else with further testing. Is it correct that Phpdig only recognises part words if they are the start of the word??

    ie
    searching for respon will find respond
    searching for pond doesn't find respond. hence my problem if people search for the number only 1060 in a part number P1060?????

    Could someone clarify this for me.
    cheers
    Andrew


  • Hm i think i found my reason, but not an answer...(see quote below).
    I tried dropping the mim word size to 1 and then 0 but to no effect.
    So does this mean in P1060 the P is a word that is too small to index and the number isn't indexed, and together they aren't considered a word...
    I found a site that worked for what i want, but the reference was AAA12345 three letters and the number......

    Andrew

    3.2. Full Text Indexing

    PhpDig indexes all words of a document, excepting small words (less than 3 letters) an common words, those are definded in a text file.

    Lone numbers are not indexed, but those included in words are indexed.


  • Welcome to the forum, Andrew. We're glad you could join us. :D

    Perhaps this thread (http://www.phpdig.net/showthread.php?s=&threadid=146&highlight=numbers) would help. :)





  • Nortel Unveils Vision, Strategy for Israeli High-Performance Net
    Busy Friday Leads to Strong Close for Net Stocks

  • formatting glitch
  • how to fix the user unable to login to admincp problem
  • how to display a notice for users awaiting email confirmation
  • msn and windows messenger
  • how to give paying members the option to disable ads
  • how to add the number of new posts since last visit to forumhome
  • little bug with the header handling in vbmail
  • automatically parsed url s and vb code
  • deleting user post doesn t correct user post count
  • how to integrate vb3 into a portal main page
  • appearance bug
  • how to add a left column to your forums
  • a few things from a mac user
  • pm s request read receipt
  •  
  • turning off referrals for myself here
  • html in signatures
  • possible bug
  • how to include vb3 into a file outside of vb3 folder
  • urls with wildcards bug
  • how to turn on and use safe mode uploads
  • php in wysiwyg
  • not able to download attachements
  • how to add a single new smilie
  • linking forums
  • how to add a new smilie category
  • old threads disapear after a certain time but appear if u search
  • how to turn on and set maximum length of signature
  • #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about v1.8.0 strange search result on numbers , Please add it free.
     Homepage | Add to favorites | Contact us | Exchange links | LOGIN | Site map | 
    Copyright© 2008 gigj.com        Site made:CFZ