Square brackets [] not searchable

17 views
Skip to first unread message

Kabelo Kakole

unread,
Aug 13, 2018, 3:32:09 AM8/13/18
to DSpace Technical Support
Good morning colleagues.

Please help me understand why is my search returns 0 search results when I search for a title with square brackets [] in it e.g. Bis(μ-N,N-di­allyl­di­thio­carbamato)bis­[(N,N-di­allyl­di­thio­carbamato)cadmium]? But when I remove the square brackets and run the search again, I get the results.

Best regards,


helix84

unread,
Aug 13, 2018, 4:43:21 AM8/13/18
to kabel...@gmail.com, DSpace Technical Support
Brackets and some other characters are interpreted as part of Solr query syntax.

Which DSpace version are you using? This might already be fixed in 6.3.

https://jira.duraspace.org/browse/DS-3507


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
> --
> All messages to this mailing list should adhere to the DuraSpace Code of Conduct: https://duraspace.org/about/policies/code-of-conduct/
> ---
> You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech...@googlegroups.com.
> To post to this group, send email to dspac...@googlegroups.com.
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.

helix84

unread,
Aug 13, 2018, 6:10:31 AM8/13/18
to kabel...@gmail.com, DSpace Technical Support
If you want to test it on 5.x, it might be possible to charry-pick
just this one change.

https://patch-diff.githubusercontent.com/raw/DSpace/DSpace/pull/2038.patch

It applies cleanly, so it might work there, too. If you test it, make
sure to add a comment to Jira or GitHub and we might still backport it
to 5.x.

Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

On Mon, Aug 13, 2018 at 11:21 AM Kabelo Kakole <kabel...@gmail.com> wrote:
>
> Good morning,
>
> Thanks a lot for your response. We are using DSpace 5.5.
>
> Regards

Kelley Canon

unread,
Jun 8, 2020, 6:16:30 PM6/8/20
to DSpace Technical Support
@helix84 -

I looked at the jira you linked in response to this issue, https://jira.duraspace.org/browse/DS-3507, but cannot tell if it was actually resolved and included in 6.3 or not.

We are running 6.3 and based on limited testing it appears that this issue WAS resolved.  Can you confirm or tell me how I can confirm?

If I search for information on SOLR syntax in dSpace 6.x documentation, where should I look?  So far I have not been able to find that information.

Thank you,
Kelley Canon
Reply all
Reply to author
Forward
0 new messages