add onlyNames config variable for filtering file names
This commit is contained in:
@@ -66,3 +66,6 @@ excludedmimetypes = text/plain
|
||||
[/home/dockes/projets/fulltext/testrecoll/excludehtml]
|
||||
indexedmimetypes = application/pdf
|
||||
|
||||
[/home/dockes/projets/fulltext/testrecoll/onlynames]
|
||||
onlyNames = *.matchesonepat *.matchestwopat
|
||||
|
||||
|
||||
Executable
+14
@@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
|
||||
topdir=`dirname $0`/..
|
||||
. $topdir/shared.sh
|
||||
|
||||
initvariables $0
|
||||
|
||||
(
|
||||
recollq -S url -q onlynametestkeyword
|
||||
) 2> $mystderr | egrep -v '^Recoll query: ' > $mystdout
|
||||
|
||||
diff -w ${myname}.txt $mystdout > $mydiffs 2>&1
|
||||
|
||||
checkresult
|
||||
@@ -0,0 +1,3 @@
|
||||
2 results
|
||||
text/plain [file:///home/dockes/projets/fulltext/testrecoll/onlynames/subdir/fn.matchesonepat] [fn.matchesonepat] 20 bytes
|
||||
text/plain [file:///home/dockes/projets/fulltext/testrecoll/onlynames/subdir/fn.matchestwopat] [fn.matchestwopat] 20 bytes
|
||||
Reference in New Issue
Block a user