Extension point for custom highlight logic

Hi ,

Is there a extension point for custom highlighting in elasticSearch.
If so , kindly tell where i can start with.

Thanks
Vineeth

No, there isn't an extension point for it. Why do you need it?

On Thu, Apr 26, 2012 at 3:24 PM, Vineeth Mohan vineethmohan@algotree.comwrote:

Hi ,

Is there a extension point for custom highlighting in elasticSearch.
If so , kindly tell where i can start with.

Thanks
Vineeth

I want highlighted text of html am storing. I don’t want to store both html
and stripped html neither.
I was wondering how the attachment plugin is doing it.
Though we are giving a base64 encoded text , its able to generate
highlighted text of stripped text from the attachment.
Is it storing both the base64 text and the stripped text while indexing an
attachment ?

Currently am getting highlighted text and then stripping the tags from it
but then as you can guess it has some issues.
If you know some work arounds , please let me know.

Thanks
Vineeth

On Fri, Apr 27, 2012 at 4:43 PM, Shay Banon kimchy@gmail.com wrote:

No, there isn't an extension point for it. Why do you need it?

On Thu, Apr 26, 2012 at 3:24 PM, Vineeth Mohan vineethmohan@algotree.comwrote:

Hi ,

Is there a extension point for custom highlighting in elasticSearch.
If so , kindly tell where i can start with.

Thanks
Vineeth

@Shay - Is there any suggestion that you have without eating up space ?

Also will you consider opening a plugin point for highlighting. Am sure
many will benefit from it.

Thanks
Vineeth

On Fri, Apr 27, 2012 at 6:53 PM, Vineeth Mohan vineethmohan@algotree.comwrote:

I want highlighted text of html am storing. I don’t want to store both
html and stripped html neither.
I was wondering how the attachment plugin is doing it.
Though we are giving a base64 encoded text , its able to generate
highlighted text of stripped text from the attachment.
Is it storing both the base64 text and the stripped text while indexing an
attachment ?

Currently am getting highlighted text and then stripping the tags from it
but then as you can guess it has some issues.
If you know some work arounds , please let me know.

Thanks
Vineeth

On Fri, Apr 27, 2012 at 4:43 PM, Shay Banon kimchy@gmail.com wrote:

No, there isn't an extension point for it. Why do you need it?

On Thu, Apr 26, 2012 at 3:24 PM, Vineeth Mohan <vineethmohan@algotree.com

wrote:

Hi ,

Is there a extension point for custom highlighting in elasticSearch.
If so , kindly tell where i can start with.

Thanks
Vineeth

Why not strip the text from html before you index the data? Do you need to
html version as well?

On Sun, Apr 29, 2012 at 6:25 PM, Vineeth Mohan vineethmohan@algotree.comwrote:

@Shay - Is there any suggestion that you have without eating up space ?

Also will you consider opening a plugin point for highlighting. Am sure
many will benefit from it.

Thanks
Vineeth

On Fri, Apr 27, 2012 at 6:53 PM, Vineeth Mohan vineethmohan@algotree.comwrote:

I want highlighted text of html am storing. I don’t want to store both
html and stripped html neither.
I was wondering how the attachment plugin is doing it.
Though we are giving a base64 encoded text , its able to generate
highlighted text of stripped text from the attachment.
Is it storing both the base64 text and the stripped text while indexing
an attachment ?

Currently am getting highlighted text and then stripping the tags from it
but then as you can guess it has some issues.
If you know some work arounds , please let me know.

Thanks
Vineeth

On Fri, Apr 27, 2012 at 4:43 PM, Shay Banon kimchy@gmail.com wrote:

No, there isn't an extension point for it. Why do you need it?

On Thu, Apr 26, 2012 at 3:24 PM, Vineeth Mohan <
vineethmohan@algotree.com> wrote:

Hi ,

Is there a extension point for custom highlighting in elasticSearch.
If so , kindly tell where i can start with.

Thanks
Vineeth

yes , i need the HTML too.
I was looking for option where i dont have to store both HTML and stripped
text.

Thanks
Vineeth

On Sun, Apr 29, 2012 at 8:58 PM, Shay Banon kimchy@gmail.com wrote:

Why not strip the text from html before you index the data? Do you need to
html version as well?

On Sun, Apr 29, 2012 at 6:25 PM, Vineeth Mohan vineethmohan@algotree.comwrote:

@Shay - Is there any suggestion that you have without eating up space ?

Also will you consider opening a plugin point for highlighting. Am sure
many will benefit from it.

Thanks
Vineeth

On Fri, Apr 27, 2012 at 6:53 PM, Vineeth Mohan <vineethmohan@algotree.com

wrote:

I want highlighted text of html am storing. I don’t want to store both
html and stripped html neither.
I was wondering how the attachment plugin is doing it.
Though we are giving a base64 encoded text , its able to generate
highlighted text of stripped text from the attachment.
Is it storing both the base64 text and the stripped text while indexing
an attachment ?

Currently am getting highlighted text and then stripping the tags from
it but then as you can guess it has some issues.
If you know some work arounds , please let me know.

Thanks
Vineeth

On Fri, Apr 27, 2012 at 4:43 PM, Shay Banon kimchy@gmail.com wrote:

No, there isn't an extension point for it. Why do you need it?

On Thu, Apr 26, 2012 at 3:24 PM, Vineeth Mohan <
vineethmohan@algotree.com> wrote:

Hi ,

Is there a extension point for custom highlighting in elasticSearch.
If so , kindly tell where i can start with.

Thanks
Vineeth

Along with this i have custom file formats in my company. If there was a
plugin point for highlighting , i could have easily provide a zero space
overhead solution.

Thanks
Vineeth

On Sun, Apr 29, 2012 at 9:09 PM, Vineeth Mohan vineethmohan@algotree.comwrote:

yes , i need the HTML too.
I was looking for option where i dont have to store both HTML and stripped
text.

Thanks
Vineeth

On Sun, Apr 29, 2012 at 8:58 PM, Shay Banon kimchy@gmail.com wrote:

Why not strip the text from html before you index the data? Do you need
to html version as well?

On Sun, Apr 29, 2012 at 6:25 PM, Vineeth Mohan <vineethmohan@algotree.com

wrote:

@Shay - Is there any suggestion that you have without eating up space ?

Also will you consider opening a plugin point for highlighting. Am sure
many will benefit from it.

Thanks
Vineeth

On Fri, Apr 27, 2012 at 6:53 PM, Vineeth Mohan <
vineethmohan@algotree.com> wrote:

I want highlighted text of html am storing. I don’t want to store both
html and stripped html neither.
I was wondering how the attachment plugin is doing it.
Though we are giving a base64 encoded text , its able to generate
highlighted text of stripped text from the attachment.
Is it storing both the base64 text and the stripped text while indexing
an attachment ?

Currently am getting highlighted text and then stripping the tags from
it but then as you can guess it has some issues.
If you know some work arounds , please let me know.

Thanks
Vineeth

On Fri, Apr 27, 2012 at 4:43 PM, Shay Banon kimchy@gmail.com wrote:

No, there isn't an extension point for it. Why do you need it?

On Thu, Apr 26, 2012 at 3:24 PM, Vineeth Mohan <
vineethmohan@algotree.com> wrote:

Hi ,

Is there a extension point for custom highlighting in elasticSearch.
If so , kindly tell where i can start with.

Thanks
Vineeth