Skip to main content
askab123
Level 2
September 15, 2017
Solved

Fragment Text search

We have 1000+ fragments in our application, we want to provide a mechanism to users to search a text within Fragments. The data in fragments is stored as binary, any idea how to perform a text search in fragments?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
askab123
askab123Accepted solution
Level 2
September 18, 2017

Thank you Scott, i will go through the link

4 replies

kautuk_sahni
Level 9
September 18, 2017

Moving this question to AEM Assets topic.

If you are talking about the content fragment, then the content fragment can be easily searchable from AEM omni-search.

Go to http://localhost:4502/assets.html/content/dam and click the lens icon and type content of the fragment. It will show you the relevant content fragment.

I am not very sure what do you mean by " The data in fragments is stored as binar".

~kautuk

Translate
Kautuk Sahni
askab123
askab123Author
Level 2
September 18, 2017

Thank you Kautuk for your response, i am trying to provide the search capability in Publish and writing a custom search logic to search the text in Fragments using querybuilder.

Translate
smacdonald2008
Level 10
September 18, 2017

Are you talking about a fragment where an author enters text. The actual text data is what you want to search?

See this community article that suggests that you can cast a prop using binary --

9 JCR-SQL2 Queries Every AEM Developer Should Know | 6D Labs

Translate
askab123
askab123AuthorAccepted solution
Level 2
September 18, 2017

Thank you Scott, i will go through the link

Translate