Welcome to dbFreaks.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Full Text Index for international Addresses

 
   Database Help (Home) -> Full Text RSS
Next:  FOREIGN KEY problem in merge replication  
Author Message
nietZsche

External


Since: Dec 30, 2008
Posts: 2



(Msg. 1) Posted: Tue Dec 30, 2008 12:19 am
Post subject: Full Text Index for international Addresses
Archived from groups: microsoft>public>sqlserver>fulltext (more info?)

Hello

I am working on a database with a address table and a subtable addresslines
containing all address data like street, name zip and so on...as it is
international I have german address notation like Diesestrasse and English
like Blvd and so on. I store the country in the address table (CountryId) and
so I would like to build a full text index with the LCID from this table (not
xml). Is there a way to do so?

The next question is how to manage this whole thing with the subset of
addresslines so I can search for them in one index (maybe with an indexed
view?)...I would create another table I manage with triggers...maybe someone
has a better idea (I do not really like the indexed views).

 >> Stay informed about: Full Text Index for international Addresses 
Back to top
Login to vote
Hilary Cotter3

External


Since: Aug 28, 2004
Posts: 458



(Msg. 2) Posted: Tue Dec 30, 2008 11:13 am
Post subject: Re: Full Text Index for international Addresses [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

There are ways of doing this where you tag your content with language tags
which ifilters can understand and then break the words according to the
language rules for that language.

For example you could store the documents in Word, XML, or HTML and use the
language tags to mark the language of the addresses.

This way Diesestraße will be indexed and searchable as Diesestraße and
diese (assuming it is removed from the noise word list), and straße.

Then if you apply the language parameter in your searches you will maximize
the correct number of hits being returned and minimize the program with
false friends/conjugates.

Now you also should really include a column with your language and then
restrict only hits coming back from the language you are searching on/in.

"nietZsche" wrote in message

> Hello
>
> I am working on a database with a address table and a subtable
> addresslines
> containing all address data like street, name zip and so on...as it is
> international I have german address notation like Diesestrasse and English
> like Blvd and so on. I store the country in the address table (CountryId)
> and
> so I would like to build a full text index with the LCID from this table
> (not
> xml). Is there a way to do so?
>
> The next question is how to manage this whole thing with the subset of
> addresslines so I can search for them in one index (maybe with an indexed
> view?)...I would create another table I manage with triggers...maybe
> someone
> has a better idea (I do not really like the indexed views).

 >> Stay informed about: Full Text Index for international Addresses 
Back to top
Login to vote
nietZsche

External


Since: Dec 30, 2008
Posts: 2



(Msg. 3) Posted: Sun Jan 04, 2009 10:04 pm
Post subject: Re: Full Text Index for international Addresses [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Thanks for your answer, but as I only save "Diesestrasse 99" in this column
the xml datatype with the xml:lang="de" is an overhead. It would be perfect
if I could tell the full text index that the language comes from column
[LcidNo] and the content from the column [Value]...and if I have both like in
your proposal, [LcidNo] and the xml:lang tag, it is redundant...not very
elegant. I did not find a solution for this...maybe there is no elegant one
for sql server 2008...but that is a bit disappointing for me. I have to built
a quite normal database for international shop system and for me, this seems
like a normal requirement for any international database...it is really not
recommended, to store language content within different columns...

"Hilary Cotter" wrote:

> There are ways of doing this where you tag your content with language tags
> which ifilters can understand and then break the words according to the
> language rules for that language.
>
> For example you could store the documents in Word, XML, or HTML and use the
> language tags to mark the language of the addresses.
>
> This way Diesestraße will be indexed and searchable as Diesestraße and
> diese (assuming it is removed from the noise word list), and straße.
>
> Then if you apply the language parameter in your searches you will maximize
> the correct number of hits being returned and minimize the program with
> false friends/conjugates.
>
> Now you also should really include a column with your language and then
> restrict only hits coming back from the language you are searching on/in.
>
> "nietZsche" wrote in message
>
> > Hello
> >
> > I am working on a database with a address table and a subtable
> > addresslines
> > containing all address data like street, name zip and so on...as it is
> > international I have german address notation like Diesestrasse and English
> > like Blvd and so on. I store the country in the address table (CountryId)
> > and
> > so I would like to build a full text index with the LCID from this table
> > (not
> > xml). Is there a way to do so?
> >
> > The next question is how to manage this whole thing with the subset of
> > addresslines so I can search for them in one index (maybe with an indexed
> > view?)...I would create another table I manage with triggers...maybe
> > someone
> > has a better idea (I do not really like the indexed views).
>
 >> Stay informed about: Full Text Index for international Addresses 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Full text index - migration - What is the easiest way to migrate full text indexes from SQL2K to SQL2K5?

Full Text Index Eror - Corruption - Good Day, I have noticed this warning in my SQL Server 2005 log. The full message reads:- Warning: Failed to get MSFTESQL indexer interface for full-text catalog 'JobsFullTextIndex' ('10') in database 'XXXXXXX' ('7'). Error: 0x80043613(A status change....

error populating full text index. - I'm trying to populate a full text index on a database but I'm having some troubles. I've tried re-creating the index, re-populating it fully, and even incrementally all to no avail. The full text catalog for this table still says the item count is....

incomplete Full text index for large dbs in sql 2005?? - we have created a full text catalogue on an Addresses table with exactly same configuration on 3 databases. Two of them are on SQL 2005 and one on SQL 2000. My Addresses table has 13 million rows and the full text was on the Full Address column. db i...

Full text index not created on varbinary(max) - sql 2008 - Hi Full text query on varbinary(max) column is not returning results, as the index is not populated. Some configuration error - can't figure out what. FDHost process has no issues The log shows this - Informational: Full-text Auto population complete...
   Database Help (Home) -> Full Text All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]