You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by "Juan Pablo Santos Rodríguez (Jira)" <ji...@apache.org> on 2020/09/25 18:07:00 UTC

[jira] [Resolved] (JSPWIKI-1133) Can't search for: a

     [ https://issues.apache.org/jira/browse/JSPWIKI-1133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Juan Pablo Santos Rodríguez resolved JSPWIKI-1133.
--------------------------------------------------
    Resolution: Invalid

marking issue as invalid; as noted by Murray on the ML:

{quote}
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.
{quote}


> 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
>            Priority: Minor
>
> 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«.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)