Key too large in the function btappend

Post Reply
foosh101
Posts: 61
Joined: Tue Oct 22, 2002 2:13 pm

Key too large in the function btappend

Post by foosh101 »

I get the following error when doing a query:

<!-- 011 /texis/1000000:82: Key too large in the function btappend -->

What does it mean?
User avatar
mark
Site Admin
Posts: 5513
Joined: Tue Apr 25, 2000 6:56 pm

Key too large in the function btappend

Post by mark »

You're creating a regular index on a field. One of your records has field data larger than the btree page size. Most likely you wanted a metamorph index instead. If you really wanted a regular index you could use "set max_index_text=N" to set the max length of text to index.
Post Reply