ASPseek » How To » Indexing very long url (>128) ?
Show: Today's Messages :: Unanswered Messages :: Show Polls :: Message Navigator
Email to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Indexing very long url (>128) ? Mon, 10 March 2003 06:19 Go to next message
alf  is currently offline 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) ?
  Send a private message to this user    
Re: Indexing very long url (>128) ? Mon, 10 March 2003 08:56 Go to previous messageGo to next message
Valentine  is currently offline Valentine
Messages: 9
Registered: December 2002
Junior Member
From: cisti.nrc.ca
I had to change the sql tables, and the include/defines.h
I do not know whether it is the right place to modify staff ... but it seems to work.
  Send a private message to this user    
Re: Indexing very long url (>128) ? Mon, 10 March 2003 09:46 Go to previous messageGo to next message
alf  is currently offline alf
Messages: 3
Registered: March 2003
Junior Member
From: rd.francetelecom.com
OK, recompiling works great Smile

On the other hand, I think it would be nice to have the parameter MAX_URL_LEN defined in aspseek.conf. What do you think about that ?
  Send a private message to this user    
Re: Indexing very long url (>128) ? Mon, 17 March 2003 01:07 Go to previous messageGo to next message
Chad Rosenbohm  is currently offline Chad Rosenbohm
Messages: 6
Registered: March 2003
Junior Member
From: client.mchsi.com
Has anyone got a better suggestion? I am new to the scene and am not quite sure which colums to edit for a permanent fix.

Thanks!

Chad
  Send a private message to this user    
Re: Indexing very long url (>128) ? Mon, 17 March 2003 12:42 Go to previous messageGo to next message
Chad Rosenbohm  is currently offline Chad Rosenbohm
Messages: 6
Registered: March 2003
Junior Member
From: na9.newspaperarchive.com
Does anyone have an index and tables.sql with the modifications to support this fix? I am having trouble compiling 1.2.10 on RH8.

  Send a private message to this user    
Re: Indexing very long url (>128) ? Tue, 18 March 2003 05:03 Go to previous messageGo to next message
alf  is currently offline 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]

  Send a private message to this user    
Re: Indexing very long url (>128) ? Tue, 18 March 2003 18:27 Go to previous messageGo to next message
Chad Rosenbohm  is currently offline Chad Rosenbohm
Messages: 6
Registered: March 2003
Junior Member
From: na9.newspaperarchive.com
that worked great!

thanks, chad
  Send a private message to this user    
Re: Indexing very long url (>128) ? Fri, 16 September 2005 09:07 Go to previous messageGo to next message
bojote  is currently offline bojote
Messages: 28
Registered: July 2003
Junior Member
From: *hsd1.fl.comcast.net
Guys... ./configure -h and check the configure option called:

--enable-max-url-length=NUM
Sets maximum URL length to NUM. Default is 128.

No need to modify source here!
  Send a private message to this user    
Re: Indexing very long url (>128) ? Thu, 03 December 2009 02:23 Go to previous messageGo to next message
yoyohh  is currently offline yoyohh
Messages: 9
Registered: December 2009
Junior Member
From: 58.144.17*
UV rays from the sunlight cause a wow power leveling number of health problems and lead to an aged appearance. Cataracts and skin cancer are the major health problems that wow power leveling are caused by UV radiation.A rather world of warcraft gold versatile price of furniture is the desk. A desk typically has a section that functions as a table and then also contains a storage gold in wow area. Desks tend to be used for writing or computer use. A more modern wow gold eu type of desk is a credenza desk which is used as a secondary surface in offices. This desk is typically found in executive wow gold chea offices and is placed up against a wall. wow cheap gold The credenza desk is not used frequently but may contain books or other supplies that are needed best wow gold occasionally.There is more to translating and interpreting than just those things, however.
  Send a private message to this user    
Re: Indexing very long url (>128) ? Sat, 06 February 2010 23:30 Go to previous messageGo to next message
seraulu1  is currently offline seraulu1
Messages: 1
Registered: February 2010
Location: njaksjffc
Junior Member

From: *124.adsl-pool.digitelone.com
Thanks:D learn hypnosis free

[Updated on: Sat, 06 February 2010 23:31]

  Send a private message to this user    
Re: Indexing very long url (>128) ? Sat, 13 February 2010 08:19 Go to previous messageGo to next message
DorothyPascual  is currently offline 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]

  Send a private message to this user    
Re: Indexing very long url (>128) ? Tue, 16 March 2010 04:09 Go to previous messageGo to next message
AsHlEEy  is currently offline 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

  Send a private message to this user    
Re: Indexing very long url (>128) ? Mon, 31 May 2010 12:18 Go to previous message
GrandJunctionChiropractor  is currently offline GrandJunctionChiropractor
Messages: 2
Registered: May 2010
Junior Member
From: 202.69.180*
indeed a great help. thanks for sharing.

Grand Junction Chiropractor
Chiropractor Grand Junction
Grand Junction Chiropractic
Chiropractic Grand Junction
http://www.spineandinjurycenterofgrandjunction.com

                                          
Grand Junction Chiropractic
http://www.spineandinjurycenterofgrandjunction.com

  Send a private message to this user    
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic:problem with date
Next Topic:run index
Goto Forum:
  
-=] Back to Top [=-

Current Time: Thu Sep 9 11:02:52 EDT 2010

Total time taken to generate the page: 0.03307 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 2.6.1RC3
Copyright ©2001-2004 Advanced Internet Designs Inc.