Closed (fixed)
Project:
Search API Solr
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
23 Oct 2015 at 10:31 UTC
Updated:
23 Jan 2016 at 12:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
loparev commentedComment #3
loparev commentedComment #4
drunken monkeySorry, but I fear that is much too specialized to be added to the module. I can't imagine more than a handful of people would actually use this, and it makes the UI (even) harder to understand for everyone.
I guess I could live with a hidden variable for this, though. (However, if you create a patch for that, please also fix the hard-coded length of the prefix (in the
substr()call)!)Comment #5
drunken monkeyComment #6
loparev commentedHi.
I provided a hidden variable and fixed the hard-coded length of prefix.
Comment #7
drunken monkeyThanks.
Please also document the variable in the "Hidden variables" section of
README.txt, and usesubstr()withstrlen()for the check, notstrpos()(which has worse performance for non-matches).Comment #8
loparev commentedComment #9
loparev commentedComment #11
drunken monkeyThanks, looks great!
I just changed the README description a bit and then committed.
Thanks again!