See the surround query in lucene/contrib.
It support proximity search query syntax is diff..but you can customize it.
By customizing javacc language file-"QueryParser .jj" you can get as you wish.
Thanks,
Jagdish
-Original Message-
From: Walt [mailto:junk...@comcast.net]
Sent: Friday
Yes..you can Store Text file content by saying that field
store-Field.Store.YES.same time you can also index it by saying
Field.Index.ANALYZED as another parameter of Field class contructor.
Thanks,
Jagdish
-Original Message-
From: starz10de [mailto:farag_ah...@yahoo.com]
Sent: Sunday,
Hi,
All , I want to eliminate stop words from surround query how I can do
that ...as I am new to QueryParser languages(JavaCC) ..
Any Ideas or suggestions ?
Thanks,
Jagdish
Hi,
Can any one guide me.. how I can accomplish to add default operator
(W/1) in surround query ?
Thanks,
Jagdish
dded inbetween two
words.
Any suggestions?
Thanks,
Jagdish
-----Original Message-
From: Jagdish Vasani IN [mailto:jvas...@in.capitallegals.com]
Sent: Friday, August 27, 2010 6:24 PM
To: java-user@lucene.apache.org
Subject: contrib -surround query -How to add default operator in
surround query ?
Hi,
infix */, oprt);
}
}
)*
{return q;}
}
Now generate QueryParser.java file using javaCC then do search..
Thanks,
Jagdish.
-Original Message-
From: Jagdish Vasani IN [mailto:jvas...@in.capitallegals.com]
Sent: Monday, August 23, 2010 7:33 PM
To: java-user@lucene.apache.org
S
For highlighting to work you need to store position information of each
token...
So while field creation you need to call following constructor..
Field field = new Field(fieldName, validFieldValue,
(store) ? Field.Store.YES : Field.Store.NO,