You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Ted Gifford (Jira)" <ji...@apache.org> on 2020/04/02 22:16:00 UTC

[jira] [Commented] (SOLR-14380) Repeated words in comments and documentation

    [ https://issues.apache.org/jira/browse/SOLR-14380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17074120#comment-17074120 ] 

Ted Gifford commented on SOLR-14380:
------------------------------------

My super-elegant approach:
{code:sh}
grep  --include='*.adoc' -rP '\b([a-zA-Z]\w+)\s+\1\b' . -lZ | xargs -0 perl -i -ple 's#\b([a-zA-Z]\w+)\s+\1\b#$1#g;'
git add -p # to review
{code}
and such.

> Repeated words in comments and documentation
> --------------------------------------------
>
>                 Key: SOLR-14380
>                 URL: https://issues.apache.org/jira/browse/SOLR-14380
>             Project: Solr
>          Issue Type: Task
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: documentation
>    Affects Versions: master (9.0)
>         Environment: N/A
>            Reporter: Ted Gifford
>            Priority: Trivial
>              Labels: typo
>         Attachments: the_the.patch
>
>
> I noticed the repeated "the the" in the [the query elevation documentation|https://lucene.apache.org/solr/guide/8_5/the-query-elevation-component.html].
> {quote}If either one of these parameters is specified at request time, *the the*[sic] entire elevation configuration for the query is ignored.
> {quote}
>  I have prepared a PR with all similar occurrences in comments and documentation replaced, but not blindly. Seems like a particular choice was probably made for some of the tests, and maybe that bled into the docs? Maybe an inside joke?
> In any case, let me know if you want the PR submitted.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org