Hi! 2012/12/6 Ji Cai <ji....@telecom-sudparis.eu>: > hi all, > > I'm new here, i use clucene a week ago, and i worked on the demo and found > that it searches document. > Now i want to finish the work like this : i have a log.txt, i want to search > the key words and return the sentences that include the key_words.
Maybe you can use the highlighter contrib. With this contrib you can retrieve the context of a found term. But I don't know, if this fits your requirements. Best regards Veit ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_123012 _______________________________________________ CLucene-developers mailing list CLucene-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/clucene-developers