We are running into issues when doing searches with Accent Mark using Ektron CMS. Searching on "Guantánamo" (with accent mark) is returning results but "Guantanamo" is not returning results. Any idea how to get the searches behave insensitive to accent characters?
We suspect we had this functionality working a year back but seems to be broken. Could this be related to any of the windows updates to the Indexing Server?
We are using Windows Server 2008. The Property "Allow Use of diacritics" is Disabled in the
Local Computer Policy "Computer Configuration/Adminstrative Templates/Windows Components/Search"
Thanks,
Madhu.
If it is just some specific words you could define a synonym so that Guantánamo is a synonym to Guantanamo.
From control panel on your search server, open the Indexing Options > Advanced section, and make sure that the "treat similar words with diacritics as different words" option is not selected.
from:
http://programming4.us/desktop/2346.aspx
Related
I need to be able to save Chinese chars in my active database with ColdFusion 9
I have already figured out how to do it set the field types to NVARCHARS and NTEXT.
I have checked off Enable High ASCII characters and Unicode for data sources configured for non-Latin characters under the Datasources section.
It works great but... here is the question.
Changing the option Enable High ASCII characters and Unicode for data sources configured for non-Latin characters - will this create any other downstream issue with the current application? We will need to update the database structure - I am not sure what effect this option will have to my legacy code.
That should not have any effect on your database or your code. It's just a setting on how the application server (coldfusion) communicates to your database server.
Does anybody knows if there is any way to set the default value for the "With design from Server" drop down field ???
The inconvenience is that I have quite a long list of servers and have to select the development server every time I refresh the design.
It would be handy to be able just to click on OK button in this dialog box, rather then browsing for the same server name again and again...
Sorry. At least from my knowlegde this is not possible. Best option is trying what has already been suggested in the comments.
That said you can also change the design using the "load convert" command on the Domino server console (it's not just for converting mail boxes).
Ove
SQL Server can use a thesaurus file to do substitutions in free text queries, so that a search for 'IE' might return results with 'Internet Explorer' or 'Quirky Browser' in the text.
Unfortunately the thesaurus file with SQL Server 2008 is empty! Are there any predefined English SQL Server thesaurus files available out there? I can't find any obvious source from searches.
(Yes, I can build one if needed)
Thanks
Ryan
You can get one from here:
SQL Server English Thesaurus for FULLTEXT Search; the site also provides instructions on how to install it.
I haven't used it myself so I can't say if it's good or bad though.
I had to re-install my SQL Server 2005 Express instance due to a conflict with collations.
Now, once in the setup, I can't see the SQL_Latin1_General_CP1_CI_AI collation, I see "Latin1_General" instead, and I've been told is not the same.
Could you please tell me where I can find this?
The CI and AI bits mean "Case Insensitive" and "Accent Insenstive" (which are checkboxes in the installation dialog if I remember correctly). The CP1 part is, I think, "Code Page 1" and refers to the US region whereas without CP1, it refers to the UK region (or maybe, more generally, non-US English) - this may also be a separate selection in the installation dialog.
If you don't se these options, it will default to the codepage most suitable for the system default international settings in Windows (note: this may not be the same as your profile's international settings) at the time of installation. You can change these (both yours and the system default) via the control panel.
UPDATE:
I've downloaded and run through the installation for SQL Server Express 2005 (SP3)...
I deselected "Hide advanced configuration options" on the "Registration Information" page (but not sure if this was necessary). On the Collation Settings" page I selected "SQL collations (used for compatibility...)" and then "Dictionary order, case-insensitive, accent-insensitive, for use with 1252 Character Set". Everything else was left on defaults.
The result was a SQL Server Express 2005 installation using the SQL_Latin1_General_CP1_CI_AI collation.
More information on this topic can be found here: http://msdn.microsoft.com/en-us/library/ms180175.aspx
Is there a way to do this with SQL Server tools?
If not, is there a 3rd party tool that does this?
There doesn't seem to be a good way to edit longer text columns in the SQL Server Managers for SQL Server 2000 or 2005. While SQL Server Manager is really not for editing data in your db, what other tool does Microsoft provide that would normally allow you to do this? Every other field is pretty easy to edit, except long text fields. In Access, you could hit shift-f2 and it would pop up a nice dialog to edit your text in.
alt text http://techinterview.org/edit.png
Generally, SQL Management Studio is an administrative tool for your database and not meant for data entry other than a quick edit here or there. Generally you would script the data or it would be entered by an application that uses the database for persistence.
(Although I have pointed Access to my SQL Server DB for a better quick and dirty UI.)
This may fight your bill - SQL LOB Editor.
The other option you might want to look at is EMS SQL Studio for SQL Server.
Marc
If you are specifically after a nice big multi-line edit dialogs, then yes you definitely need to look outside of the Microsoft SSMS line of tools. They don't support it.
This is just stupid. Enterprise Manager for SQL Server 2000 handled multiline text just fine. Just silly to go backward and loose functionality that was pre-existing. Not like it is rocket science to reproduce formatted text. Someone really dropped the ball on this one.
In the Management Console, isn't it possible to do an "Open Table" context-menu action and then edit the data from there?
I totally recommend DBVisualizer. The nice thing about it is, it supports a long list of databases and generic all JDBC Drivers (since it is written in Java). You can browse your various databases, change data and explore schema in nice graphs. It comes as a free and a personal edition for 149 $ and is totally worth it! Look at this matrix for a comparison.
You'll be able to edit text and ntext in SQL Server 2000, 2005 and surly for upcoming versions as well.
If I had to make the edits only occasionally I would probably use SQL Query Analyzer and just script the UPDATE command.
If that was too inconvenient I would next look at linking to the database in Access, and to really quick and dirty ease of use I would just use an AutoForm to generate a UI for the table. If you don't have Access I believe OpenOffice Base can connect through ODBC and has similar form building functionality.