Guy, For SQL Server 2000, the best tactic is to separate the text that is now being searched in one column with multiple languages into two or more (depending upon the number of languages) columns and then defining the correct language wordbreaker for the text in each column. Once this is done, you can direct your users who run non-English FTS queries to their non-English specific language content, and the English-only users to their English content using the US or UK wordbreaker and enjoy the stemming/breaking of the English wordbreakers.... However, in SQL Server 2005 (codename Yukon & currently in early beta), you will be able to issue language specific SQL FTS queries to a single column that contains multiple languages, for example: -- using the English language SELECT * FROM FTS_Table WHERE CONTAINS(FtCol1, 'John', LANGUAGE 'English') -- using the Spanish language SELECT * FROM FTS_Table WHERE CONTAINS(FtCol1, 'Juan', LANGUAGE 'Spanish') Regards, John [quoted text, click to view] "Guy Brom" <guy_brom@yahoo.com> wrote in message news:ubXP6#RhEHA.3540@TK2MSFTNGP10.phx.gbl... > I have a searchable fulltext column.that has multilingual content in it. > > Some users run a non-English query, while most run English-only queries. > > What's the best tactic to make the non-English/multilingual queries to be > run against a neutral catalog (like it is now), while making the > English-only queries enjoy the stemming/breaking of the English word > breaker? > > Using SQL2K, Standard > >
I have a searchable fulltext column.that has multilingual content in it. Some users run a non-English query, while most run English-only queries. What's the best tactic to make the non-English/multilingual queries to be run against a neutral catalog (like it is now), while making the English-only queries enjoy the stemming/breaking of the English word breaker? Using SQL2K, Standard
Thanks John. I figured out this is the only solution. I'm wondering - do you know of any SQL function or process that might help me achive a check for English-only strings? this way I can move the code from the application tier into the same sql sp that uses fts. [quoted text, click to view] "John Kane" <jt-kane@comcast.net> wrote in message news:eDNZRfThEHA.712@TK2MSFTNGP09.phx.gbl... > Guy, > For SQL Server 2000, the best tactic is to separate the text that is now > being searched in one column with multiple languages into two or more > (depending upon the number of languages) columns and then defining the > correct language wordbreaker for the text in each column. Once this is > done, > you can direct your users who run non-English FTS queries to their > non-English specific language content, and the English-only users to their > English content using the US or UK wordbreaker and enjoy the > stemming/breaking of the English wordbreakers.... > > However, in SQL Server 2005 (codename Yukon & currently in early beta), > you > will be able to issue language specific SQL FTS queries to a single column > that contains multiple languages, for example: > > -- using the English language > SELECT * FROM FTS_Table > WHERE CONTAINS(FtCol1, 'John', LANGUAGE 'English') > > -- using the Spanish language > SELECT * FROM FTS_Table > WHERE CONTAINS(FtCol1, 'Juan', LANGUAGE 'Spanish') > > Regards, > John > > > "Guy Brom" <guy_brom@yahoo.com> wrote in message > news:ubXP6#RhEHA.3540@TK2MSFTNGP10.phx.gbl... >> I have a searchable fulltext column.that has multilingual content in it. >> >> Some users run a non-English query, while most run English-only queries. >> >> What's the best tactic to make the non-English/multilingual queries to be >> run against a neutral catalog (like it is now), while making the >> English-only queries enjoy the stemming/breaking of the English word >> breaker? >> >> Using SQL2K, Standard >> >> > >
You're welcome, Guy, Yes, I believe I do. However, it depends upon what languages other than English you have in your single text column. Could you post a list of language you have in your column? Thanks, John [quoted text, click to view] "Guy Brom" <guy_brom@yahoo.com> wrote in message news:eff8vHUhEHA.396@TK2MSFTNGP12.phx.gbl... > Thanks John. I figured out this is the only solution. > > I'm wondering - do you know of any SQL function or process that might help > me achive a check for English-only strings? this way I can move the code > from the application tier into the same sql sp that uses fts. > > > > "John Kane" <jt-kane@comcast.net> wrote in message > news:eDNZRfThEHA.712@TK2MSFTNGP09.phx.gbl... > > Guy, > > For SQL Server 2000, the best tactic is to separate the text that is now > > being searched in one column with multiple languages into two or more > > (depending upon the number of languages) columns and then defining the > > correct language wordbreaker for the text in each column. Once this is > > done, > > you can direct your users who run non-English FTS queries to their > > non-English specific language content, and the English-only users to their > > English content using the US or UK wordbreaker and enjoy the > > stemming/breaking of the English wordbreakers.... > > > > However, in SQL Server 2005 (codename Yukon & currently in early beta), > > you > > will be able to issue language specific SQL FTS queries to a single column > > that contains multiple languages, for example: > > > > -- using the English language > > SELECT * FROM FTS_Table > > WHERE CONTAINS(FtCol1, 'John', LANGUAGE 'English') > > > > -- using the Spanish language > > SELECT * FROM FTS_Table > > WHERE CONTAINS(FtCol1, 'Juan', LANGUAGE 'Spanish') > > > > Regards, > > John > > > > > > "Guy Brom" <guy_brom@yahoo.com> wrote in message > > news:ubXP6#RhEHA.3540@TK2MSFTNGP10.phx.gbl... > >> I have a searchable fulltext column.that has multilingual content in it. > >> > >> Some users run a non-English query, while most run English-only queries. > >> > >> What's the best tactic to make the non-English/multilingual queries to be > >> run against a neutral catalog (like it is now), while making the > >> English-only queries enjoy the stemming/breaking of the English word > >> breaker? > >> > >> Using SQL2K, Standard > >> > >> > > > > > >
John hi, I have lots (about 8). wouldn't it be better to filter by English-only characters rather then non-English? [quoted text, click to view] "John Kane" <jt-kane@comcast.net> wrote in message news:OT%23fPbahEHA.1568@TK2MSFTNGP09.phx.gbl... > You're welcome, Guy, > Yes, I believe I do. However, it depends upon what languages other than > English you have in your single text column. > Could you post a list of language you have in your column? > > Thanks, > John > > > > "Guy Brom" <guy_brom@yahoo.com> wrote in message > news:eff8vHUhEHA.396@TK2MSFTNGP12.phx.gbl... >> Thanks John. I figured out this is the only solution. >> >> I'm wondering - do you know of any SQL function or process that might >> help >> me achive a check for English-only strings? this way I can move the code >> from the application tier into the same sql sp that uses fts. >> >> >> >> "John Kane" <jt-kane@comcast.net> wrote in message >> news:eDNZRfThEHA.712@TK2MSFTNGP09.phx.gbl... >> > Guy, >> > For SQL Server 2000, the best tactic is to separate the text that is >> > now >> > being searched in one column with multiple languages into two or more >> > (depending upon the number of languages) columns and then defining the >> > correct language wordbreaker for the text in each column. Once this is >> > done, >> > you can direct your users who run non-English FTS queries to their >> > non-English specific language content, and the English-only users to > their >> > English content using the US or UK wordbreaker and enjoy the >> > stemming/breaking of the English wordbreakers.... >> > >> > However, in SQL Server 2005 (codename Yukon & currently in early beta), >> > you >> > will be able to issue language specific SQL FTS queries to a single > column >> > that contains multiple languages, for example: >> > >> > -- using the English language >> > SELECT * FROM FTS_Table >> > WHERE CONTAINS(FtCol1, 'John', LANGUAGE 'English') >> > >> > -- using the Spanish language >> > SELECT * FROM FTS_Table >> > WHERE CONTAINS(FtCol1, 'Juan', LANGUAGE 'Spanish') >> > >> > Regards, >> > John >> > >> > >> > "Guy Brom" <guy_brom@yahoo.com> wrote in message >> > news:ubXP6#RhEHA.3540@TK2MSFTNGP10.phx.gbl... >> >> I have a searchable fulltext column.that has multilingual content in > it. >> >> >> >> Some users run a non-English query, while most run English-only > queries. >> >> >> >> What's the best tactic to make the non-English/multilingual queries to > be >> >> run against a neutral catalog (like it is now), while making the >> >> English-only queries enjoy the stemming/breaking of the English word >> >> breaker? >> >> >> >> Using SQL2K, Standard >> >> >> >> >> > >> > >> >> > >
Guy, I've emailed your yahoo account with possible (under development) methods for this. John [quoted text, click to view] "Guy Brom" <guy_brom@yahoo.com> wrote in message news:uMNt8MQiEHA.3148@TK2MSFTNGP10.phx.gbl... > John Hi, > > Any news about a method to seperate English-only searches? > > Thanks! > > "John Kane" <jt-kane@comcast.net> wrote in message > news:OT%23fPbahEHA.1568@TK2MSFTNGP09.phx.gbl... > > You're welcome, Guy, > > Yes, I believe I do. However, it depends upon what languages other than > > English you have in your single text column. > > Could you post a list of language you have in your column? > > > > Thanks, > > John > > > > > > > > "Guy Brom" <guy_brom@yahoo.com> wrote in message > > news:eff8vHUhEHA.396@TK2MSFTNGP12.phx.gbl... > >> Thanks John. I figured out this is the only solution. > >> > >> I'm wondering - do you know of any SQL function or process that might > >> help > >> me achive a check for English-only strings? this way I can move the code > >> from the application tier into the same sql sp that uses fts. > >> > >> > >> > >> "John Kane" <jt-kane@comcast.net> wrote in message > >> news:eDNZRfThEHA.712@TK2MSFTNGP09.phx.gbl... > >> > Guy, > >> > For SQL Server 2000, the best tactic is to separate the text that is > >> > now > >> > being searched in one column with multiple languages into two or more > >> > (depending upon the number of languages) columns and then defining the > >> > correct language wordbreaker for the text in each column. Once this is > >> > done, > >> > you can direct your users who run non-English FTS queries to their > >> > non-English specific language content, and the English-only users to > > their > >> > English content using the US or UK wordbreaker and enjoy the > >> > stemming/breaking of the English wordbreakers.... > >> > > >> > However, in SQL Server 2005 (codename Yukon & currently in early beta), > >> > you > >> > will be able to issue language specific SQL FTS queries to a single > > column > >> > that contains multiple languages, for example: > >> > > >> > -- using the English language > >> > SELECT * FROM FTS_Table > >> > WHERE CONTAINS(FtCol1, 'John', LANGUAGE 'English') > >> > > >> > -- using the Spanish language > >> > SELECT * FROM FTS_Table > >> > WHERE CONTAINS(FtCol1, 'Juan', LANGUAGE 'Spanish') > >> > > >> > Regards, > >> > John > >> > > >> > > >> > "Guy Brom" <guy_brom@yahoo.com> wrote in message > >> > news:ubXP6#RhEHA.3540@TK2MSFTNGP10.phx.gbl... > >> >> I have a searchable fulltext column.that has multilingual content in > > it. > >> >> > >> >> Some users run a non-English query, while most run English-only > > queries. > >> >> > >> >> What's the best tactic to make the non-English/multilingual queries to > > be > >> >> run against a neutral catalog (like it is now), while making the > >> >> English-only queries enjoy the stemming/breaking of the English word > >> >> breaker? > >> >> > >> >> Using SQL2K, Standard > >> >> > >> >> > >> > > >> > > >> > >> > > > > > >
John Hi, Any news about a method to seperate English-only searches? Thanks! [quoted text, click to view] "John Kane" <jt-kane@comcast.net> wrote in message news:OT%23fPbahEHA.1568@TK2MSFTNGP09.phx.gbl... > You're welcome, Guy, > Yes, I believe I do. However, it depends upon what languages other than > English you have in your single text column. > Could you post a list of language you have in your column? > > Thanks, > John > > > > "Guy Brom" <guy_brom@yahoo.com> wrote in message > news:eff8vHUhEHA.396@TK2MSFTNGP12.phx.gbl... >> Thanks John. I figured out this is the only solution. >> >> I'm wondering - do you know of any SQL function or process that might >> help >> me achive a check for English-only strings? this way I can move the code >> from the application tier into the same sql sp that uses fts. >> >> >> >> "John Kane" <jt-kane@comcast.net> wrote in message >> news:eDNZRfThEHA.712@TK2MSFTNGP09.phx.gbl... >> > Guy, >> > For SQL Server 2000, the best tactic is to separate the text that is >> > now >> > being searched in one column with multiple languages into two or more >> > (depending upon the number of languages) columns and then defining the >> > correct language wordbreaker for the text in each column. Once this is >> > done, >> > you can direct your users who run non-English FTS queries to their >> > non-English specific language content, and the English-only users to > their >> > English content using the US or UK wordbreaker and enjoy the >> > stemming/breaking of the English wordbreakers.... >> > >> > However, in SQL Server 2005 (codename Yukon & currently in early beta), >> > you >> > will be able to issue language specific SQL FTS queries to a single > column >> > that contains multiple languages, for example: >> > >> > -- using the English language >> > SELECT * FROM FTS_Table >> > WHERE CONTAINS(FtCol1, 'John', LANGUAGE 'English') >> > >> > -- using the Spanish language >> > SELECT * FROM FTS_Table >> > WHERE CONTAINS(FtCol1, 'Juan', LANGUAGE 'Spanish') >> > >> > Regards, >> > John >> > >> > >> > "Guy Brom" <guy_brom@yahoo.com> wrote in message >> > news:ubXP6#RhEHA.3540@TK2MSFTNGP10.phx.gbl... >> >> I have a searchable fulltext column.that has multilingual content in > it. >> >> >> >> Some users run a non-English query, while most run English-only > queries. >> >> >> >> What's the best tactic to make the non-English/multilingual queries to > be >> >> run against a neutral catalog (like it is now), while making the >> >> English-only queries enjoy the stemming/breaking of the English word >> >> breaker? >> >> >> >> Using SQL2K, Standard >> >> >> >> >> > >> > >> >> > >
Don't see what you're looking for? Try a search.
|