| Indexing very long url (>128) ? |
Mon, 10 March 2003 06:19  |
alf Messages: 3
Registered: March 2003
|
Junior Member |
From: rd.francetelecom.com
|
|
I've a site where URL length goes up to 256 but aspseek seems to limit indexing URL of length < 128.
How can I change this limit to 256 (or even more) ?
|
|
|
|
|
|
|
| Re: Indexing very long url (>128) ? |
Tue, 18 March 2003 05:03   |
alf Messages: 3
Registered: March 2003
|
Junior Member |
From: rd.francetelecom.com
|
|
In fact, I had to limit the URL length to 255 (which is the maximum length for a VARCHAR attribute in database, like URL).
The table.sql looks like this (only modified tables are listed...) :
create table urlword(url_id integer auto_increment primary key,
site_id integer not null,
tree_id integer not null,
deleted tinyint DEFAULT 0 NOT NULL,
url varchar(255) not null,
next_index_time INT NOT NULL,
status int(11) DEFAULT '0' NOT NULL,
crc char(32) DEFAULT '' NOT NULL,
last_modified varchar(32) DEFAULT '' NOT NULL,
etag varchar(48) DEFAULT '' NOT NULL,
last_index_time INT NOT NULL,
referrer int(11) DEFAULT '0' NOT NULL,
tag int(11) DEFAULT '0' NOT NULL,
hops int(11) DEFAULT '0' NOT NULL,
redir integer,
origin integer,
unique index(url),
index(next_index_time),
index(hops,next_index_time),
index crc (origin, crc(8 )));
create table sites (
site_id integer auto_increment primary key,
site varchar(255) not null,
unique index (site)
);
Only url(255) and site(255) are modified in tables urlword/sites.
[Updated on: Tue, 18 March 2003 05:04]
|
|
|
|
|
|
| Re: Indexing very long url (>128) ? |
Sat, 06 February 2010 23:30   |
|
|
Thanks:D learn hypnosis free
[Updated on: Sat, 06 February 2010 23:31]
|
|
|
| Re: Indexing very long url (>128) ? |
Sat, 13 February 2010 08:19   |
DorothyPascual Messages: 2
Registered: February 2010
|
Junior Member |
From: host-92-12-109-162.as43234.net
|
|
Isn't it something to do with the htaccess file?
Lipo 6 | Xenadrine
[Updated on: Thu, 22 July 2010 11:46]
|
|
|
| Re: Indexing very long url (>128) ? |
Tue, 16 March 2010 04:09   |
AsHlEEy Messages: 25
Registered: March 2010
|
Junior Member |
From: 121.54.2*
|
|
|
I had that same problem before i always wondered how to do it if there is a limit thanks for sharing this information.
Randa Ridge
Reserve at Belmere Windermere
|
|
|
|