Jump to content

Amend field


dreamwest

Recommended Posts

Is there a way i can amend a field to simply add more data to the end of whats already there

 

d_id  corpus

 

1    (3, 17)|(9, 17)

2    (4, 6)

3    (89, 97)

 

mysql_query("update `dic` set `corpus`='|(2, 12)' where `d_id`='3'"); //amend field with this query

 

so after update row 3 will now be  (89, 97)|(2, 12)

 

Link to comment
https://forums.phpfreaks.com/topic/229633-amend-field/
Share on other sites

as far as i know mysql cant search for corpus pairs, so is used only to retrieve pointers in the inverted doc.

 

so a paired set like {21,4|45,5|78,9}  means word "funny" appears in doc 4 at position 21 etc..

 

Ive read you can also use skipping to make the retrieval faster

 

..but for now im experimenting all methods

Link to comment
https://forums.phpfreaks.com/topic/229633-amend-field/#findComment-1183843
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.