Hierarchical data metrics that allows fast read operations on tree like structures.
Based on Left and Right fields that are set during tree traversal. When entered into node value is set to it's Left, when exiting node value is set to it's Right.
Hierarchical data metrics that allows fast read operations on tree like structures.
Based on Left and Right fields that are set during tree traversal. When entered into node value is set to it's Left, when exiting node value is set to it's Right.
download and install Solr from http://lucene.apache.org/solr/.
you can access Solr admin from your browser: http://localhost:8983/solr/
use the port number used in installation.
| <?php | |
| function dHash($file, $size = 8) | |
| { | |
| $hash = ''; | |
| list($w, $h, $t) = getimagesize($file); | |
| $im = imagecreatetruecolor($size + 1, $size); | |
| imagefilter($im, IMG_FILTER_GRAYSCALE); | |
| switch($t) { | |
| case 1: |
| (function(window) { | |
| 'use strict'; | |
| /** | |
| * | |
| * @description A Class, that can store files for upload with javascript/ajax | |
| * @class FileUplaoder | |
| */ | |
| window.FileUplaoder = function() { | |
| var fileCache = {}, i = 0; |