This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
I written BooleanQuery for searching "Hello" value . but it returns all Hello values including "Sample Hello" also return in result .
My Question is how to get extract "Hello" value from lucene index.
With Best Regards,
Muthukumar. T
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35249
7
posted
1
While there may be an unusual way that Lucene and Liferay could cooperate, this sounds like the normal way Lucene would work. If you add "jambalaya hello bucksfizz" to an index, then that matches "hello".
Ulf Dittmer wrote:While there may be an unusual way that Lucene and Liferay could cooperate, this sounds like the normal way Lucene would work. If you add "jambalaya hello bucksfizz" to an index, then that matches "hello".
Well, I'm not looking for one, so that's unlikely :-) If the one I suggested is not suitable for your purposes then you should elaborate on why that is.
Muthukumar Thangavinayagam
Greenhorn
Joined: Nov 15, 2007
Posts: 7
posted
0
Hi
I got solution for my problem . For index the values "Hello" and "Sample Hello"
indexing the field like "_Begin"+fieldName+"_End" .
Index in lucene it look like "_BeginHello_End" and "_BeginSample Hello_End" and use search same procedure "_Begin"+fieldName+"_End" .