Microsoft SQL Server 2005 κοινότητας τεχνολογίας Προεπισκόπηση (CTP) Σεπτέμβριος 2005 περιλαμβάνουν βοηθητικά προγράμματα οριοθέτησης λέξεων με άδεια τρίτου κατασκευαστή για τις ακόλουθες γλώσσες:
- Δανικά
- Πολωνικά
- Πορτογαλικά Βραζιλίας
- Πορτογαλικά Ιβηρικής
- Ρωσικά
- Τουρκικά
Αυτά τα βοηθητικά προγράμματα οριοθέτησης λέξεων είναι διαθέσιμες. Ωστόσο, αυτές δεν εγκαθίστανται από προεπιλογή στον SQL Server 2005 CTP Σεπτεμβρίου 2005. Επομένως, πρέπει να καταχωρήσετε με μη αυτόματο τρόπο αυτά τα βοηθητικά προγράμματα οριοθέτησης λέξεων.
ΣΗΜΕΙΩΣΗΣας συνιστούμε να ορίσετε ο μηχανισμός πλήρους κειμένου Microsoft για την υπηρεσία SQL Server (MSFTESQL) να εκτελείται σε ένα λογαριασμό δικαιώματα χαμηλό.
Καταχωρήστε τα βοηθητικά προγράμματα οριοθέτησης λέξεων
Για να καταχωρήσετε ένα βοηθητικό πρόγραμμα οριοθέτησης λέξεων, πρέπει να χρησιμοποιήσετε την ακόλουθη μέθοδο:
Αποκτήστε παρουσία αναγνωριστικά πολλές εμφανίσεις του SQL Server
Οι διαδρομές μητρώου που παρατίθενται σε αυτό το άρθρο είναι για την πρώτη παρουσία του SQL Server 2005. Αυτή η περίοδος λειτουργίας έχει Αναγνωριστικό παρουσίας MSSQL.1. Εάν υπάρχουν πολλές εμφανίσεις του SQL Server, πρέπει να τροποποιήσετε τις διαδρομές μητρώου αντικαθιστώντας το Αναγνωριστικό εμφάνισης για τη συγκεκριμένη παρουσία αντί MSSQL.1. Για να αποκτήσετε το Αναγνωριστικό εμφάνισης για μια περίοδο λειτουργίας, ακολουθήστε τα εξής βήματα:
- Κάντε κλικStartΚάντε κλικΕκτέλεσηTYPERegedit, και στη συνέχεια κάντε κλικ στο κουμπίOk.
- Στον Επεξεργαστή μητρώου, εντοπίστε το ακόλουθο κλειδί μητρώου για την πρώτη παρουσία του SQL Server:
Names\SQL Server\Instance SQL HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft
- Στο δεξιό τμήμα του παραθύρου, τα ονόματα παρουσίας και την αντίστοιχη περίοδο λειτουργίας εμφανίζονται ταυτότητες.
Αποκτήστε τη διαδρομή του φακέλου FTData συγκεκριμένη παρουσία
Αφού αποκτήσετε το αναγνωριστικό παρουσίας, πρέπει να αποκτήσετε την κατάλληλη διαδρομή συγκεκριμένη παρουσία του φακέλου FTData. You will use this path when you add configuration values that specify the lexicon, noise word, and thesaurus files for a language. To obtain the instance-specific FTData folder path, follow these steps:
- Κάντε κλικStartΚάντε κλικΕκτέλεσηTYPERegedit, και στη συνέχεια κάντε κλικ στο κουμπίOk.
- In Registry Editor, locate and then click the following registry key for an instance of SQL Server:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\<instance id="">\MSSQLServer</instance>
ΣΗΜΕΙΩΣΗ<instance id=""></instance>is MSSQL.1 for the first instance of SQL Server. Therefore, the registry key will be the following:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL.1\MSSQLServer
- In the right pane, the FullTextDefaultPath registry value appears. This value contains the instance-specific path of the FTData folder. For example, the instance-specific path for the first instance may be
C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\FTData.
Install the word breakers
The following section describes how to install the word breakers for the following languages:
- Δανικά
- Πολωνικά
- Portuguese-Brazilian
- Portuguese-Iberian
- Ρωσικά
- Τουρκικά
ΣΗΜΕΙΩΣΗThe following steps use the Danish word breaker as an example. The values that you must use to install other language word breakers are listed after each step.
Add the COM Class ID or Class IDs for the word breaker, and add the stemmer interfaces for the language that you want to use
To add a COM Class ID or Class IDs for these components, follow these steps:
- Κάντε κλικStartΚάντε κλικΕκτέλεσηTYPERegedit, και στη συνέχεια κάντε κλικ στο κουμπίOk.
- In Registry Editor, locate and then click the following registry key for the first instance of SQL Server:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL.1\MSSearch\CLSID
- Στο διακομιστήΕπεξεργαστείτε τη διαδρομήμενού, σημείοΝέα, και στη συνέχεια κάντε κλικ στο κουμπίΚλειδί.
- TYPE{16BC5CE4-2C78-4CB9-80D5-386A68CC2B2D}και κατόπιν πατήστε το πλήκτρο ENTER.
- Στο δεξιό τμήμα του παραθύρου, κάντε δεξιό κλικ στοΠροεπιλογήη τιμή μητρώου και στη συνέχεια κάντε κλικΤροποποίηση (Modify).
- ΣτοΕπεξεργασία συμβολοσειράςπαράθυρο διαλόγου, πληκτρολογήστεdanlr.dllΣτοΔεδομένα τιμήςπλαίσιο και στη συνέχεια κάντε κλικOk.
- Στο διακομιστήΕπεξεργαστείτε τη διαδρομήμενού, σημείοΝέα, και στη συνέχεια κάντε κλικ στο κουμπίΚλειδί.
- TYPE{83BC7EF7-D27B-4950-A743-0F8E5CA928F8}και κατόπιν πατήστε το πλήκτρο ENTER.
- Στο δεξιό τμήμα του παραθύρου, κάντε δεξιό κλικ στοΠροεπιλογήη τιμή μητρώου και στη συνέχεια κάντε κλικΤροποποίηση (Modify).
- ΣτοΕπεξεργασία συμβολοσειράςπαράθυρο διαλόγου, πληκτρολογήστεdanlr.dllΣτοΔεδομένα τιμήςπλαίσιο και στη συνέχεια κάντε κλικOk.
For other languages, use the registry key values that are listed in the following table. In step 6 and in step 10, replace danlr.dll with the DLL for the language that you want.
Σύμπτυξη αυτού του πίνακαΑνάπτυξη αυτού του πίνακα
| Γλώσσα | Registry key value for step 4 | DLL for step 6 and step 10 | Registry key value for step 8 |
|---|
| Πολωνικά | {B8713269-2D9D-4BF5-BF40-2615D75723D8} | lrpolish.dll | {CA665B09-4642-4C84-A9B7-9B8F3CD7C3F6} |
| Portuguese-Brazilian | {25B7FD48-5404-4BEB-9D80-B6982AF404FD} | ptblr.dll | {D5FCDD7E-DBFF-473F-BCCD-3AFD1890EA85} |
| Portuguese-Iberian | {5D5F3A69-620C-4952-B067-4D0126BB6086} | ptslr.dll | {D4171BC4-90BE-4F70-8610-DAB1C17F063C} |
| Ρωσικά | {20036404-F1AF-11D2-A57F-006052076F32} | ruslr.dll | {20036414-F1AF-11D2-A57F-006052076F32} |
| Τουρκικά | {23A9C1C3-3C7A-4D2C-B894-4F286459DAD6} | trklr.dll | {8DF412D1-62C7-4667-BBEC-38756576C21B} |
Add a subkey to the <instanceroot>\MSSearch\Language registry subkey for the language</instanceroot>
To add a subkey to this registry subkey, follow these steps:
- Locate and then click the following registry key for the first instance of SQL Server:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL.1\MSSearch\Language
- Repeat steps 3 through 4 in the "Add the COM Class ID or Class IDs for the word breaker, and add the stemmer interfaces for the language that you want to use" section. Replace the key name in step 4 withdan.
For other languages, replace the key name in step 4 with the value that is listed in the following table.Σύμπτυξη αυτού του πίνακαΑνάπτυξη αυτού του πίνακα
| Γλώσσα | Key name |
|---|
| Πολωνικά | plk |
| Portuguese-Brazilian | ptb |
| Portuguese-Iberian | pts |
| Ρωσικά | rus |
| Τουρκικά | trk |
Add configuration values that set the location of the lexicon, noise word, and thesaurus files for the language
To add configuration values for these components, follow these steps:
- Locate and then click the registry key that you added in the "Add a subkey to the <instanceroot>\MSSearch\Language registry subkey for the language" section. For the first instance of SQL Server, this registry key would be the following:</instanceroot>
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL.1\MSSearch\Language\dan
- Στο διακομιστήΕπεξεργαστείτε τη διαδρομήμενού, σημείοΝέα, και στη συνέχεια κάντε κλικ στο κουμπίΤιμή συμβολοσειράς.
- TYPENoiseFileκαι κατόπιν πατήστε το πλήκτρο ENTER.
- Κάντε δεξιό κλικ στοNoiseFileη τιμή μητρώου και στη συνέχεια κάντε κλικΤροποποίηση (Modify).
- ΣτοΕπεξεργασία συμβολοσειράςπαράθυρο διαλόγου, πληκτρολογήστεInstance-SpecificFTDataPath\noisedan.txtΣτοΔεδομένα τιμής"Τύπος" (Type).
ΣΗΜΕΙΩΣΗInstanceSpecificFTDataPathrepresents the path that you obtained by following the steps in the "Obtain the instance-specific FTData folder path" section. - Κάντε κλικOk.
- Repeat steps 2 through 6 to add the values that are listed in the following table for the Danish language.
Σύμπτυξη αυτού του πίνακαΑνάπτυξη αυτού του πίνακα
| Value type for step 2 | Value names for step 3 and step 4 | Value type for step 5 |
|---|
| Τιμή συμβολοσειράς | TsaurusFile | Instance-SpecificFTDataPath\tsdan.xml |
| Τιμή DWORD | Τοπικές ρυθμίσεις | 00000406 |
| Τιμή συμβολοσειράς | WBreakerClass | {16BC5CE4-2C78-4CB9-80D5-386A68CC2B2D} |
| Τιμή συμβολοσειράς | StemmerClass | {83BC7EF7-D27B-4950-A743-0F8E5CA928F8} |
For languages that differ from Danish, use the following values.
Polish language values
Locate and then click the registry key that you added in the "Add a subkey to the <instanceroot>\MSSearch\Language registry subkey for the language" section. For the first instance of SQL Server, this registry key would be the following:</instanceroot>
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL.1\MSSearch\Language\plk
Follow the steps in the "Add configuration values that set the location of the lexicon, noise word, and thesaurus files for the language" section by using the values in the following table.
Σύμπτυξη αυτού του πίνακαΑνάπτυξη αυτού του πίνακα
| Value type for step 2 | Value names for steps 3 and 4 | Value data for step 5 |
|---|
| Τιμή συμβολοσειράς | NoiseFile | Instance-SpecificFTDataPath\noiseplk.txt |
| Τιμή συμβολοσειράς | TsaurusFile | Instance-SpecificFTDataPath\tsplk.xml |
| Τιμή DWORD | Τοπικές ρυθμίσεις | 00000415 |
| Τιμή συμβολοσειράς | WBreakerClass | {CA665B09-4642-4C84-A9B7-9B8F3CD7C3F6} |
| Τιμή συμβολοσειράς | StemmerClass | {B8713269-2D9D-4BF5-BF40-2615D75723D8} |
Portuguese-Brazilian language values
Locate and then click the registry key that you added in the "Add a subkey to the <instanceroot>\MSSearch\Language registry subkey for the language" section. For the first instance of SQL Server, this registry key would be the following:</instanceroot>
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL.1\MSSearch\Language\ptb
Follow the steps in the "Add configuration values that set the location of the lexicon, noise word, and thesaurus files for the language" section by using the values in the following table.
Σύμπτυξη αυτού του πίνακαΑνάπτυξη αυτού του πίνακα
| Value type for step 2 | Value names for steps 3 and 4 | Value data for step 5 |
|---|
| Τιμή συμβολοσειράς | NoiseFile | Instance-SpecificFTDataPath\noiseptb.txt |
| Τιμή συμβολοσειράς | TsaurusFile | Instance-SpecificFTDataPath\tsptb.xml |
| Τιμή DWORD | Τοπικές ρυθμίσεις | 00000416 |
| Τιμή συμβολοσειράς | WBreakerClass | {25B7FD48-5404-4BEB-9D80-B6982AF404FD} |
| Τιμή συμβολοσειράς | StemmerClass | {D5FCDD7E-DBFF-473F-BCCD-3AFD1890EA85} |
Portuguese-Iberian language values
Locate and then click the registry key that you added in the "Add a subkey to the <instanceroot>\MSSearch\Language registry subkey for the language" section. For the first instance of SQL Server, this registry key would be the following:</instanceroot>
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL.1\MSSearch\Language\pts
Follow the steps in the "Add configuration values that set the location of the lexicon, noise word, and thesaurus files for the language" section by using the values in the following table.
Σύμπτυξη αυτού του πίνακαΑνάπτυξη αυτού του πίνακα
| Value type for step 2 | Value names for steps 3 and 4 | Value data for step 5 |
|---|
| Τιμή συμβολοσειράς | NoiseFile | Instance-SpecificFTDataPath\noisepts.txt |
| Τιμή συμβολοσειράς | TsaurusFile | Instance-SpecificFTDataPath\tspts.xml |
| Τιμή DWORD | Τοπικές ρυθμίσεις | 00000816 |
| Τιμή συμβολοσειράς | WBreakerClass | {5D5F3A69-620C-4952-B067-4D0126BB6086} |
| Τιμή συμβολοσειράς | StemmerClass | {D4171BC4-90BE-4F70-8610-DAB1C17F063C} |
Russian language values
Locate and then click the registry key that you added in the "Add a subkey to the <instanceroot>\MSSearch\Language registry subkey for the language" section. For the first instance of SQL Server, this registry key would be the following:</instanceroot>
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL.1\MSSearch\Language\rus
Follow the steps in the "Add configuration values that set the location of the lexicon, noise word, and thesaurus files for the language" section by using the values in the following table.
Σύμπτυξη αυτού του πίνακαΑνάπτυξη αυτού του πίνακα
| Value type for step 2 | Value names for steps 3 and 4 | Value data for step 5 |
|---|
| Τιμή συμβολοσειράς | NoiseFile | Instance-SpecificFTDataPath\noiserus.txt |
| Τιμή συμβολοσειράς | TsaurusFile | Instance-SpecificFTDataPath\tsrus.xml |
| Τιμή DWORD | Τοπικές ρυθμίσεις | 00000419 |
| Τιμή συμβολοσειράς | WBreakerClass | {20036404-F1AF-11D2-A57F-006052076F32} |
| Τιμή συμβολοσειράς | StemmerClass | {20036414-F1AF-11D2-A57F-006052076F32} |
Turkish language values
Locate and then click the registry key that you added in the "Add a subkey to the <instanceroot>\MSSearch\Language registry subkey for the language" section. For the first instance of SQL Server, this registry key would be the following:</instanceroot>
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL.1\MSSearch\Language\trk
Follow the steps in the "Add configuration values that set the location of the lexicon, noise word, and thesaurus files for the language" section by using the values in the following table.
Σύμπτυξη αυτού του πίνακαΑνάπτυξη αυτού του πίνακα
| Value type for step 2 | Value names for steps 3 and 4 | Value data for step 5 |
|---|
| Τιμή συμβολοσειράς | NoiseFile | Instance-SpecificFTDataPath\noisetrk.txt |
| Τιμή συμβολοσειράς | TsaurusFile | Instance-SpecificFTDataPath\tstrk.xml |
| Τιμή DWORD | Τοπικές ρυθμίσεις | 0000041f |
| Τιμή συμβολοσειράς | WBreakerClass | {8DF412D1-62C7-4667-BBEC-38756576C21B} |
| Τιμή συμβολοσειράς | StemmerClass | {23A9C1C3-3C7A-4D2C-B894-4F286459DAD6} |