This discussion is archived
1 Reply Latest reply: Jan 30, 2013 9:32 AM by Roger Ford RSS

Is possible define different lexer/tokenizer per section of document?

988136 Newbie
Currently Being Moderated
Hi,

I have documents in format:
<customer>
<url>test1.test2.com</url>
<email>test@gmail.com</email>
</customer>

And I want have <url> indexed with tokens "test1", "test2" ...

but I want to have content of <email> as one token "test@gmail.com".

How create oracle text index for this search:

I want content of <email> be indexed with user_lexer with printjoins containing "@ ."
but in other part of document I want to be "." token separator.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points