multi fields query question
Hi Nenad,
To get 3 matches, you should have indexed 3 documents(either same docs. in
the index or 3 docs each having one field). Otherwise it should have worked
as you expected.
For the second part, other that boosting "keyword", I don't think that you
have t
ng extra.
DIGY
-Original Message-
From: Nenad Maricic [mailto:[email protected]]
Sent: Wednesday, April 28, 2010 7:43 PM
To: [email protected]
Subject: New user: multi fields query question
Hi,
Hope there is solution for this:
We have an index with following fields in the
Hi,
Hope there is solution for this:
We have an index with following fields in the document: title, keyword, and
category.
We are using our, custom similarity class, with all factors set to 1.0 (tf,
idf, lengthNorm) except coord. Also, we have boosted "keyword" field during
indexing.
We are
Subject: RE: Query question
Luis,
As you mentioned previously rather than add spacing tokens such as 'xx' between
the terms, you can use a custom analyzer to put a large gap in the position
increment between the items you wish to keep together.
In this way you would have:
Pos
Whoops - I misspoke - it's the PositionIncrementAttribute, not the
OffsetAttribute that you would use in 2.9.
Michael
-Original Message-
From: Michael Garski
Sent: Monday, March 15, 2010 9:09 AM
To: [email protected]
Subject: RE: Query question
Luis,
As you ment
s the approach Solr takes with what is called 'multi-valued fields'.
Michael
-Original Message-
From: Luis Fco Ramirez Daza Glez [mailto:[email protected]]
Sent: Monday, March 15, 2010 7:52 AM
To: [email protected]
Subject: RE: Query question
Hi Art
Th
lyzer and only use your
suggestion as my last resort.
Best regards
Luis
> -Original Message-
> From: Artem Chereisky [mailto:[email protected]]
> Sent: Sunday, March 14, 2010 11:02 PM
> To: [email protected]
> Subject: Re: Query question
>
> Lui
gt; > From: Artem Chereisky [mailto:[email protected]]
> > Sent: Sunday, March 14, 2010 10:13 PM
> > To: [email protected]
> > Subject: Re: Query question
> >
> > Luis,
> >
> > Have you considered PhraseQuery or SpanQuery? Both of them
mple.
Regards,
Luis
> -Original Message-
> From: Artem Chereisky [mailto:[email protected]]
> Sent: Sunday, March 14, 2010 10:13 PM
> To: [email protected]
> Subject: Re: Query question
>
> Luis,
>
> Have you considered PhraseQuery or SpanQuery? Bot
Luis,
Have you considered PhraseQuery or SpanQuery? Both of them would satisfy
your requirement of finding "John Lennon" but not "Paul Lennon".
Answering your last question about fields with the same name, they are not
really different fields. Consider this:
Adding three fields to the same docum
Hi all
Hope somebody can help me with this.
I have an index with several fields that repeat in a document.
Sample doc:
Date- 2010-01-01
ID- ASDF
Name- John Lennon
Name- Ringo Star
Name- Paul McCartney
Name- George Harrison
I want that the search return only the d
11 matches
Mail list logo