Redis-fam completion ¼øÀ§ ¹× ¿ä¾à
- ƯÇã:
- MIT/X Consortium Lic...
- °Ô½ÃÀÚ À̸§:
- Charles Leifer
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://www.charlesleifer.com/blog/
Redis-fam completion ű×
Redis-fam completion ¼³¸í
REDIS-FOLMETÀº - http://antirez.com/post/autocomplete-with-redis.html- http://stackoverflow.com/questions/1958005/redis-autocomplete/1966188Sageif¸¦ ±â¹ÝÀ¸·ÎÇÏ´Â Redis¿Í ÀÚµ¿ ¿Ï¼ºÀ» Á¦°øÇÏ´Â ÆÐÅ°ÁöÀÔ´Ï´Ù. ¹®ÀÚ¿ : ¿£Áø = RedisEngine () Titles = ºí·Î±× Ç׸ñ°ú °°Àº º¹ÀâÇÑ µ¥ÀÌÅ͸¦ ÀúÀåÇÏ·Á¸é ´ÙÀ½°ú °°ÀÌÇϽʽÿÀ. entry.create (title = 'pathon', published = true) entry.create (title = 'redis', published = true Á¤º¸) Ç׸ñ. title = 'delete.select () : Engine.Store_JSON (entry.ID, entry.title, {'published ': entry.published'title ': entry.title) , 'URL': entry.get_absolute_URL (),}) >>> Engine.search_json ( 'pytho') # ¹æ±Ý °Ô½Ã µÈ Ç׸ñ, Á¦¹ß >>> Engine.search_JSON ('Redis ', Filters = == »ç½Ç] PIP·Î installingInstall : PIP ¼³Ä¡ Redis-CompletioninstallÀ» ÅëÇØ Git : Git Clone https://github.com/coleifer /redis-completion.gitcd redis-completionpython setup.py installProductÀÇ È¨ÆäÀÌÁö
Redis-fam completion °ü·Ã ¼ÒÇÁÆ®¿þ¾î