What's causing the following error after I perform a search query?
Not enough space on page (32) in index (temp RAM DBF) in the function additem
Here's my query:
select 'http://'+Url Url, Title, SiteURL,LinkToSite,HotLink,LastPost,Replies,id, Active,$$$$rank Rank from tech where Title\Body likep $$q order by LastPost
The search works fine when I remove the order by clause.
LastPost is a date field. The strange thing is that it was working fine until I restructred the table to remove some fields by recreating the table and inserting into the new table the records without the eliminated fields.
I did create the same metamorph index as you mentioned. So if I do order the results, should I eliminate the rank and likep from my query? After trying this, I still get the same error.
I think I may have discovered the root of the problem. When I eliminated some fields from the table, I also changed the field length of some fields including SiteURL which was included in the metamorph inverted index. When I shortened that field from a varchar of 200 to a varchar of 80, the query worked. Is there a workaround to include this field in the index as a varchar of 200?
You should not be including such large fields as compound data in the index, as it will always store as many characters as the field is defined, and with that much data you have negated a lot of the benefit of the index by making it MUCH larger.