Benvenuto nella nostra community, registra un account gratuito ADESSO!
Oltre 7000 persone hanno già registrato il loro account. Chiedi aiuto, conversa con aziende ed esperti del settore webhosting italiano.
Iscriviti subito! In meno di 2 minuti!




Risultati da 1 a 3 di 3
  1. #1
    etr
    etr non è collegato
    HTEnginer L'avatar di etr
    Data Registrazione
    Jun 2006
    Località
    Milano
    Messaggi
    803

    mysql fulltext con punto

    Ciao,

    sto utilizzando la ricerca fulltext di mysql su un database piccolo (un migliaio di record circa).
    Mi scontro però con un problema "stupido". Ad esempio, uno dei campi che è indicizzato è U.P.S. ...se però faccio una ricerca è come se ignorasse il segno punto.

    Ho avuto anche un problema sulla lunghezza minima delle parole che però ho risolto valorizzando ft_min_word_len.

    Vi è mai capitato ?

    Ciao
    Ettore



  2. #2
    Webhosting Guru L'avatar di andrea.paiola
    Data Registrazione
    Jul 2006
    Località
    Torino - Milano
    Messaggi
    3,466

    Re: mysql fulltext con punto

    ummm mi sa che devi aggiungere il punto
    • If you want to change the set of characters that are considered word characters, you can do so in several ways, as described in the following list. After making the modification, you must rebuild the indexes for each table that contains any FULLTEXT indexes. Suppose that you want to treat the hyphen character ('-') as a word character. Use one of these methods:
      • Modify the MySQL source: In myisam/ftdefs.h, see the true_word_char() and misc_word_char() macros. Add '-' to one of those macros and recompile MySQL.
      • Modify a character set file: This requires no recompilation. The true_word_char() macro uses a “character type” table to distinguish letters and numbers from other characters. . You can edit the contents of the <ctype><map> array in one of the character set XML files to specify that '-' is a “letter.” Then use the given character set for your FULLTEXT indexes. For information about the <ctype><map> array format, see Section 9.3.1, “The Character Definition Arrays”.
      • Add a new collation for the character set used by the indexed columns, and alter the columns to use that collation. For general information about adding collations, see Section 9.4, “How to Add a New Collation to a Character Set”. For an example specific to full-text indexing, see Section 11.9.7, “Adding a Collation for Full-Text Indexing”.



    If you modify full-text variables that affect indexing (ft_min_word_len, ft_max_word_len, or
    MySQL :: MySQL 5.0 Reference Manual :: 11.9.6 Fine-Tuning MySQL Full-Text Search

  3. #3
    etr
    etr non è collegato
    HTEnginer L'avatar di etr
    Data Registrazione
    Jun 2006
    Località
    Milano
    Messaggi
    803

    Re: mysql fulltext con punto

    già provato ma non risolve

Discussioni Simili

  1. [GNU/Linux] Modificare punto mount di /var
    Di principino1984 nel forum Gestione Server Windows e Server Linux
    Risposte: 7
    Ultimo Messaggio: 08-01-2010, 00:37
  2. Virtualizzione Mobile, a che punto è VMware?
    Di Redazione HostingTalk nel forum Articoli e news su Webhosting e Servizi Internet
    Risposte: 0
    Ultimo Messaggio: 09-12-2009, 06:00
  3. NaMeX, focus sul punto di interscambio romano
    Di Redazione HostingTalk nel forum Interviste & contenuti professionali
    Risposte: 0
    Ultimo Messaggio: 16-09-2008, 07:12
  4. PS3Space.net - Il tuo punto di riferimento per PS3
    Di PS3Space.net nel forum Il tuo sito
    Risposte: 2
    Ultimo Messaggio: 07-09-2008, 21:28
  5. Il fenomeno VPS, a che punto siamo?
    Di Ste nel forum VPS - Virtual Private Server
    Risposte: 54
    Ultimo Messaggio: 12-09-2007, 20:15

Informazioni Discussione

Utenti che Stanno Visualizzando Questa Discussione

Ci sono attualmente 1 utenti che stanno visualizzando questa discussione. (0 utenti e 1 ospiti)

Segnalibri

Permessi di Scrittura

  • Tu non puoi inviare nuove discussioni
  • Tu non puoi inviare risposte
  • Tu non puoi inviare allegati
  • Tu non puoi modificare i tuoi messaggi
  •