Searching reports

racoon xracoonx at gmx.de
Mon Apr 20 03:15:08 UTC 2020


On 2020-04-19 19:33, Richard Kimberly Heck wrote:
> On 4/19/20 1:27 PM, Stephan Witt wrote:
>> Am 19.04.2020 um 17:42 schrieb racoon <xracoonx at gmx.de>:
>>> On 2020-04-19 17:22, Richard Kimberly Heck wrote:
>>>> On 4/19/20 6:47 AM, Daniel wrote:
>>>>> Seemingly reasonable searches in the general search field in trac
>>>>> fail. For example, I was searching for an author name, a word in the
>>>>> summary, and the component name: "racoon spacing mathed"
>>>>> (https://www.lyx.org/trac/search?q=racoon+spacing+mathed). However, it
>>>>> did not return a result even though the combination of these exists
>>>>> (https://www.lyx.org/trac/ticket/11845). Removing the component name,
>>>>> kind of solved the problem.
>>>> If you want to search for a component name, you need to use an Custom
>>>> Query and add the component combo box. Same for author. That gives:
>>>>
>>>>
>>>> https://www.lyx.org/trac/query?summary=~spacing&component=mathed&reporter=~racoon
>>>>
>>>> which returns #11845 and #11827. (The tilde means 'contains'.)
>>>>
>>>> By the way, since you have so many bug reports, you might want to set up
>>>> a custom page to track them, as I have here:
>>>>
>>>>      https://www.lyx.org/trac/wiki/HomeRikiHeck
>>>>
>>>> (Learned this trick from Vincent.) You just start by going to e.g.:
>>>>
>>>>      https://www.lyx.org/trac/wiki/HomeRacoon
>>>>
>>>> and then you can create and edit the page. Look at the code for mine, or
>>>>
>>>>      https://www.lyx.org/trac/wiki/BugTrackerHome
>>>>
>>>> to see how to do it.
>>>>
>>>> Riki
>>> Thanks. My example was a bit too simple. The problem with the custom
>>> query is that the summary is only searched for the exact sequence of
>>> words. That's why I started using the general search field. I don't
>>> think that it is worth doing much about it as long as one is aware of
>>> the limitations.
>> You may choose the summary field more than once in search conditions.
>> In that case it’s combined with OR.
>
> Yes, but I think he wants it combined with AND. You can't get that
> effect in 0.12.x, at least.

Yes, I actually wanted AND. In search engines one just types several
words and they are automatically combined with AND. If one wants
furthermore to match a specific order of words one can use quotation
marks. That seems to be working in the general search field but not in
the custom search.

Daniel


More information about the lyx-devel mailing list