Fragment Text search

Avatar

Avatar

askab123

Avatar

askab123

askab123

15-09-2017

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?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

askab123

Avatar

askab123

askab123

18-09-2017

Thank you Scott, i will go through the link

Answers (3)

Answers (3)

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K
smacdonald2008

18-09-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

Avatar

Avatar

askab123

Avatar

askab123

askab123

18-09-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.

Avatar

Avatar

kautuk_sahni

Community Manager

Total Posts

6.0K

Likes

1.1K

Correct Reply

1.1K

Avatar

kautuk_sahni

Community Manager

Total Posts

6.0K

Likes

1.1K

Correct Reply

1.1K
kautuk_sahni
Community Manager

18-09-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