Muhammad Ismail gmail.com> writes:
Any one
-
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org
Hi
I have created a sample index with 2 fields i.e. [title & body] I have
saved payload information (float value) with title field. Now I am trying
to print payload value for each term in title field.
Getting termpositions from reader does not work.
reader.termpoistion().isPayloadAvailable() is n
Hi
I have simple index with 2 fields i.e. title and body. When i perform a
simple search query like bring document which have particular text like
lazy or dog or brown in either title or body but I want matches in title
get boost over body reault. Also document which have all matches must be on
to
Any one ?
On Thu, Apr 30, 2015 at 12:01 AM, Muhammad Ismail
wrote:
> Hi
>
> I have simple index with 2 fields i.e. title and body. When i perform a
> simple search query like bring document which have particular text like
> lazy or dog or brown in either title or body but I
ne, perhaps:
>
> http://lucene.apache.org/core/4_10_4/core/org/apache/lucene/document/Field.html#setBoost(float)
>
> -Original Message-
> From: Muhammad Ismail [mailto:it.is.ism...@gmail.com]
> Sent: Thursday, April 30, 2015 3:22 AM
> To: java-user@lucene.apache.org
&
; other has
rating 12 then i want only 1 record i.e. book with rating 12
I am using Lucene 3.0
--
Thanks
Muhammad Ismail
n
>
> On Tue, Jul 28, 2015 at 4:26 AM, Muhammad Ismail
> wrote:
>
> > Can we skip matching lucene document by using custom collector or some
> > other way. Like I want to bring all document created by user xxx on
> > specific date but after we got a match, we want to run
elds result on all 3 combination "My" , "Word", "MY
Word"
but I actually want to show result only on "My Word"...
Is term qurey limited to one word? i mean if we index a word with space and
index it UN_TOKENIZED..
shouldnt TermQuery yeild result to "My Word".
Ismail
match your expectation?
>
> Is term qurey limited to one word? i mean if we index a word with space
and
> index it UN_TOKENIZED..
> shouldnt TermQuery yeild result to "My Word".
>
>
> Ismail
There is no such limitation.
Hope this helps,
Doron
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
in fav_stores i see "Banana Republic" and "Ann Taylor" there .. and i am
searching it with the capitals.
On 10/9/06, Erick Erickson <[EMAIL PROTECTED]> wrote:
OK, when you look in the "fav_stores" field in Luke, what do you see?
And, are you searching on "Banana Republic" with the capitals? I
hi guys
i am having problem deleting documents .. apparently its not doin it.. here
is the code snippet
public void delete(final BoardMessage message)
{
try{
IndexReader fsReader;
if (index.exists()) {
fsReader =IndexReader.open(index);
thanks, it worked
On 10/15/06, Doron Cohen <[EMAIL PROTECTED]> wrote:
> now pk is primary key which i am storing but not indexing it..
> doc.add(new Field("pk", message.getId().toString(),Field.Store.YES,
> Field.Index.NO));
You would need to index it for this to work.
Hey guys,
I want to filter a result set on a particular field..I have code like this
try
{
PhraseQuery textQuery = new PhraseQuery();
PhraseQuery titleQuery = new PhraseQuery();
PhraseQuery catQuery = new PhraseQuery();
textQuery.setSlop( 20 );
throw new RuntimeException( "Unable to make any sense of the
query.", e );
}
and use bQueryAll in your query.
And please be wy more elegant than the code I wrote .
Erick
On 2/28/07, Ismail Siddiqui <[EMAIL PROTECTED]> wrote:
>
> Hey guys,
> I want to filter a res
writer.setMinMergeDocs()..
can any one help.. how can i increase minimum docucment merge size.
thanks all
Ismail Siddiqui
Hi,
I have two pharase queries
messageQuery = new PhraseQuery();
titleQuery = new PhraseQuery();
messageQuery.setSlop(3);
titleQuery.setSlop(1);
for (int i=0; i
16 matches
Mail list logo