Just a simple exact match for the meantime will do.
Sertic Mirko, Bedag wrote: > > Are you using special characters for your search, a % or an *, AND or OR > matching, > or are you doing a simple exact match? > > -----Ursprüngliche Nachricht----- > Von: kewldude [mailto:[EMAIL PROTECTED] > Gesendet: Dienstag, 28. August 2007 10:05 > An: users@myfaces.apache.org > Betreff: Re: AW: AW: AW: Search Highlighting > > > > My concern is how do I do it using JSF. What would be the logic behind > highlighting specific text located in a column inside a datatable. > > > Sertic Mirko, Bedag wrote: >> >> Maybe oracle text can help you >> >> http://www.oracle.com/technology/products/text/index.html >> >> -----Ursprüngliche Nachricht----- >> Von: kewldude [mailto:[EMAIL PROTECTED] >> Gesendet: Dienstag, 28. August 2007 09:48 >> An: users@myfaces.apache.org >> Betreff: Re: AW: AW: Search Highlighting >> >> >> No im not using Hibernate, Im using plain DAOs via Oracle. >> >> >> Sertic Mirko, Bedag wrote: >>> >>> Ok, are you using hibernate? Hibernate Search is beta, i know, >>> but it can build a fulltext index across your object entities, >>> and there is your search engine... There are also other possibilities >>> to link hibernate with lucene... >>> >>> Regards >>> Mirko >>> >>> -----Ursprüngliche Nachricht----- >>> Von: kewldude [mailto:[EMAIL PROTECTED] >>> Gesendet: Dienstag, 28. August 2007 09:09 >>> An: users@myfaces.apache.org >>> Betreff: Re: AW: Search Highlighting >>> >>> >>> Yeah I've come across that Lucene capability. Unfortunately, we are >>> doing >>> the >>> search using database search. U have any more suggestions or ideas? >>> Thanks >>> for the reply. >>> >>> >>> Sertic Mirko, Bedag wrote: >>>> >>>> Hi >>>> >>>> How are you doing the search? Is it a database search, or >>>> are u using lucene, for instance? With lucene, you can use >>>> she search result highlighter to generate html, and then >>>> output it in your jsp/jsf page... >>>> >>>> Regards >>>> Mirko >>>> >>>> -----Ursprüngliche Nachricht----- >>>> Von: kewldude [mailto:[EMAIL PROTECTED] >>>> Gesendet: Dienstag, 28. August 2007 07:13 >>>> An: users@myfaces.apache.org >>>> Betreff: Search Highlighting >>>> >>>> >>>> I know this is a little bit off topic here, but I need to ask it here >>>> because >>>> I'm using MyFaces in this project, so here it goes... >>>> >>>> I need to present a dataTable that represents search results coming >>>> from >>>> a >>>> search query (query of books, articles,documents etc. ). Lets say I >>>> have >>>> 4 >>>> columns to display (KeyNumber,Author,Title,Subject), within those >>>> columns >>>> I >>>> need to highlight the exact words that the user used in >>>> querying/searching. >>>> Lets say the user searched for Bert Bates. >>>> >>>> The dataTable will be presented somewhat like this: >>>> >>>> KeyNumber Author >>>> >>>> Title Subject >>>> 00001 Eric Freeman, Bert Bates, Elisabeth Freeman Head >>>> First >>>> Design Pattern Certifications,Java >>>> 00002 Kathy Sierra, Bert Bates >>>> Head First Java Java, OOP >>>> >>>> As you can see, the column where the search query has a match is not >>>> highlighted completely. Only the >>>> words that match up with the search string itself. Can this be done >>>> using >>>> MyFaces? I hope you can provide some ideas and suggestions as to what >>>> approach I can use or investigate. >>>> -- >>>> View this message in context: >>>> http://www.nabble.com/Search-Highlighting-tf4339753.html#a12362158 >>>> Sent from the MyFaces - Users mailing list archive at Nabble.com. >>>> >>>> >>>> >>> >>> -- >>> View this message in context: >>> http://www.nabble.com/Search-Highlighting-tf4339753.html#a12363190 >>> Sent from the MyFaces - Users mailing list archive at Nabble.com. >>> >>> >>> >> >> -- >> View this message in context: >> http://www.nabble.com/Search-Highlighting-tf4339753.html#a12363589 >> Sent from the MyFaces - Users mailing list archive at Nabble.com. >> >> >> > > -- > View this message in context: > http://www.nabble.com/Search-Highlighting-tf4339753.html#a12363746 > Sent from the MyFaces - Users mailing list archive at Nabble.com. > > > -- View this message in context: http://www.nabble.com/Search-Highlighting-tf4339753.html#a12366277 Sent from the MyFaces - Users mailing list archive at Nabble.com.