Repository navigation
Version 1.0.6
New features/changes compared against v1.0.4
-
Users can now control the web crawler with a new setting: scan depth. When the indexer discovers links from pages defined as seed urls, it will store and eventually index them as well. This setting controls how deep the link discovery is allowed to go.
-
Search results from web indexes now contain also the meta description field.
-
The content field of web index results is not automatically focused anymore, users can do this manually with the SearchFocuser() method instead:
if you want to provide a focused version of your ( long )
indexed data field with highlighted keywords
$row["content"] = $pickmybrain->SearchFocuser($row["content"], $query, $chars_per_line, $max_len);
$query = "mykeyword"; // your search query
$stem_language = "fi"; // language for stemming ( en | fi )
$chars_per_line = 90; // how many chars before forced linebreak (
)
$max_len = 150; // how many chars the focused result may contain in total
Feature improvement: new sorting/grouping attribute @id (= document id). Results can now be ordered or organized within groups by internal @id attribute. This provides a faster alternative to external user defined attributes when indexed data is naturally ordered in certain manner ( for example, older entries have smaller @id ).
- Internal search feature has also been updated to support the new sorting/grouping attribute.
- Bug fix: when sorting by an external attribute, disabling certain fields did not have any effect.