lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karthik N S" <kart...@controlnet.co.in>
Subject Reply Split Search Word
Date Mon, 08 Aug 2005 04:06:26 GMT
Hi

Luceners

Apologies.....

As I have already replied,Using Analysis I have tried on all Analyzers
(including Standard Analyzer)
But not able to achive the required COMPLETS WORD Split.

My I/p String would be a lengthy one as below

String sKey = "\"" + "Dough Cutting" + "\"" +  "  " +  "Otis Gospodnetic"  +
"   " +
              "\"" + "Erik Hatcher" + "\""  + "  " +	"Authors of " + "\"" +
"Lucene In Action" + "\"";

The required split of complete words should return

   1) "Dough Cutting"
   2) Otis Gospodnetic
   3) "Erik Hatcher"
   4) Authors of
   5) "Lucene In Action"

Plz Note :- Words with "\"" are complete split words....

I am shure some Analyzer code inside Lucene is handling this task.


som how can one achive this task..

with regards
Karthik

-----Original Message-----
From: Mordo, Aviran (EXP N-NANNATEK) [mailto:aviran.mordo@lmco.com]
Sent: Friday, August 05, 2005 7:58 PM
To: java-user@lucene.apache.org
Subject: RE: Split Search Word


The StandardAnalyzer should work just fine with it, It will break the
search string to 5 search terms.

HTH

Aviran
http://www.aviransplace.com

  _____

From: Karthik N S [mailto:karthik@controlnet.co.in]
Sent: Friday, August 05, 2005 1:57 AM
To: LUCENE
Subject: Split Search Word



Hi Luceners

Apologies.....

I  have along Search String as given below...



SearchWord =  "\"" + "Dough Cutting" + "\"" +  "  " +  "Otis
Gospodnetic"  +  "   " + "\"" + "Erik Hatcher" + "\""  + "  " +
                           "Authors of " + "\"" + "Lucene In Action"
+"\"";

And prior to searching the Index ,I need the Words to be Split.

SearchWord   =

   1)   "\"" + "Dough Cutting" + "\""
   2)   "Otis Gospodnetic"
   3)  "\"" + "Erik Hatcher" + "\""
   4)  "Authors of "
   5) "\"" +"Lucene In Action" +"\""

I am shure some Analyzer within Lucene is performin the task.
So some body please Tell me Howto

[ I already used Analysis/Paralysis code to check ,but no help ]




WITH WARM REGARDS
HAVE A NICE DAY
[ N.S.KARTHIK]



---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message