That's not a bug, as 'a' is one of the search engine's "stop words":
"a", "an", "and", "are", "as", "at", "be", "but", "by",
"for", "if", "in", "into", "is", "it",
"no", "not", "of", "on", "or", "such",
"that", "the", "their", "then", "there", "these",
"they", "this", "to", "was", "will", "with"
https://stackoverflow.com/questions/17527741/what-is-the-default-list-of-stopwords-used-in-lucenes-stopfilter
Any word in the Lucene stop word list can't be searched on, as it is (by
default) not indexed. So you *can* search on a stop word but the engine
has not indexed it. Lucene is the engine behind JSPWiki, Solr,
ElasticSearch and most web sites.
Cheers,
Murray
On 15/09/20 7:30 pm, FP (Jira) wrote:
FP created JSPWIKI-1133:
---------------------------
Summary: Can't search for: a
Key: JSPWIKI-1133
URL: https://issues.apache.org/jira/browse/JSPWIKI-1133
Project: JSPWiki
Issue Type: Bug
Components: Search
Affects Versions: 2.11.0-M7
Environment: * Debian 10
* Tomcat 9: 9.0.31-1~deb10u2
* OpenJDK-JRE 11: 11.0.7+10-3~deb10u1
* JSPWiki 2.11.0-M7
Reporter: FP
There are no search results when a user searches for »a« (just the single
letter, without »«). Every other single letter, e.g. »b«, … works fine.
Page count: > 5000 with lots of pages containing the letter »a«.
...........................................................................
Murray Altheim <murray18 at altheim dot com> = = ===
http://www.altheim.com/murray/ === ===
= = ===
In the evening
The rice leaves in the garden
Rustle in the autumn wind
That blows through my reed hut.
-- Minamoto no Tsunenobu