Bug 87328 - References are not searchable
Summary: References are not searchable
Status: RESOLVED DUPLICATE of bug 70142
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: Other All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Find-Search Fields Fields-Cross-Reference
  Show dependency treegraph
 
Reported: 2014-12-15 13:29 UTC by Daniel Grigoras
Modified: 2022-05-05 06:26 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample document with field reference to heading (22.73 KB, application/vnd.oasis.opendocument.text)
2014-12-16 19:21 UTC, Daniel Grigoras
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Grigoras 2014-12-15 13:29:24 UTC
I noticed a while ago that references, which are fields, are not searchable. It would be very useful to make them searchable.
Comment 1 Buovjaga 2014-12-16 12:42:26 UTC
Can you give steps to reproduce? Set to UNCONFIRMED after you have given the steps.
Comment 2 Daniel Grigoras 2014-12-16 15:55:37 UTC
(In reply to Beluga from comment #1)
> Can you give steps to reproduce? Set to UNCONFIRMED after you have given the
> steps.

Well, I have references in a summary table that point to the headings of the details sections.
I have created these in the following way: Ctrl+F2 -> Cross-reference -> Heading.
These headings and their references are actually register names. When I search for a register name, it is only found as a heading, while the reference itself, which is a field, is not included in the results.
Comment 3 Buovjaga 2014-12-16 16:18:11 UTC
Ok thanks. I don't understand the final two sentences, but maybe someone else will.
Comment 4 Daniel Grigoras 2014-12-16 16:25:59 UTC
(In reply to Beluga from comment #3)
> Ok thanks. I don't understand the final two sentences, but maybe someone
> else will.

I guess then that a youtube video would help :), but I'm dealing with confidential information.
Comment 5 Buovjaga 2014-12-16 18:58:55 UTC
(In reply to Darius Daniel Grigoras from comment #4)
> (In reply to Beluga from comment #3)
> > Ok thanks. I don't understand the final two sentences, but maybe someone
> > else will.
> 
> I guess then that a youtube video would help :), but I'm dealing with
> confidential information.

For stripping confidential info you can try this: https://wiki.documentfoundation.org/QA/BugReport/Attachments#Confidential_Attachments

Maybe you could prepare a document quickly with the help of that macro and attach it here.
Comment 6 Daniel Grigoras 2014-12-16 19:21:49 UTC
Created attachment 110923 [details]
Sample document with field reference to heading
Comment 7 Daniel Grigoras 2014-12-16 19:25:13 UTC
(In reply to Darius Daniel Grigoras from comment #6)
> Created attachment 110923 [details]
> Sample document with field reference to heading

No need for the macro.
I've made a sample document which could have been easily prepared by support.
Try searching for "Lorem ipsum". You will see that despite "Lorem ipsum" appearing twice in the document, the Search function will only return the text in the heading, and not also the text that is found in the paragraph under the heading, and that because the "Lorem ipsum" in the paragraph is a reference, i.e. a field.
I really need LibreOffice to find text no matter if that text is plain text or a field.
Comment 8 Buovjaga 2014-12-17 07:44:27 UTC
Thanks, I confirmed. Let's set this to an enhancement.

Win 7 64-bit Version: 4.5.0.0.alpha0+
Build ID: 170616e9f2d30c1302bbb5a7a4b588bc05cd5cc9
TinderBox: Win-x86@39, Branch:master, Time: 2014-12-12_01:58:46
Comment 9 Daniel Grigoras 2014-12-17 08:13:08 UTC
(In reply to Beluga from comment #8)
> Thanks, I confirmed. Let's set this to an enhancement.
> 
> Win 7 64-bit Version: 4.5.0.0.alpha0+
> Build ID: 170616e9f2d30c1302bbb5a7a4b588bc05cd5cc9
> TinderBox: Win-x86@39, Branch:master, Time: 2014-12-12_01:58:46

Great! I guess then that this is my first confirmed LibreOffice bug. I filed others too, but so far nobody confirmed them.
Comment 10 Daniel Grigoras 2014-12-20 08:48:32 UTC
(In reply to Beluga from comment #5)
> (In reply to Darius Daniel Grigoras from comment #4)
> > (In reply to Beluga from comment #3)
> > > Ok thanks. I don't understand the final two sentences, but maybe someone
> > > else will.
> > 
> > I guess then that a youtube video would help :), but I'm dealing with
> > confidential information.
> 
> For stripping confidential info you can try this:
> https://wiki.documentfoundation.org/QA/BugReport/
> Attachments#Confidential_Attachments
> 
> Maybe you could prepare a document quickly with the help of that macro and
> attach it here.

BTW, that Confidential Data Stripping Macro does not remove/replace confidential images/diagrams.
Comment 11 Dieter 2017-06-06 14:15:33 UTC
I think the summary should be more precise, because if you just do a "normal" search, references are searchable.
Comment 12 Dieter 2017-06-26 10:04:11 UTC
(In reply to Dieter Praas from comment #11)
> I think the summary should be more precise, because if you just do a
> "normal" search, references are searchable.

Sorry, I think my previous comment was wrong. The only refences that are searchable in my document are citations of zotero (but they appear as references in the navigator as well as in the cross-reference-dialog
Comment 13 Joseph 2019-02-04 23:13:32 UTC
I confirm that references and cross-references are NOT searchable in Writer.
Windows 8
Libreoffice 6.1.4.2
Search finds only the headings but not in inserted reference to that heading.
Moreover, Search does not find text in cross-references, neither within the reference I set using {Set Reference} nor within a cross-reference to it {Insert Reference}.
Comment 14 Mike Kaganski 2022-05-05 06:26:27 UTC

*** This bug has been marked as a duplicate of bug 70142 ***