On Oct 28, 2005, at 8:17 PM, Chris Hostetter wrote:
One thing to keep in mind is that if you have things you are adding
to hte
query to restrict the results, but you don't want them to
contribute to
the score, then try using a Filter instead. If you can't find an
easy way
to replace a query
: How does sorting and ranking working together in
: Lucene? Are they mutually exclusive? If the search
: result is ranked first, then sorting may not have much
: value. If sorting is done first, then ranking doesnt
: have any meaning?
Scoring (which is what i think you mean by ranking) is orth
: Okay, I looked at the explanations and realized part of the problem
: was that I was applying a sort field to the search results, which I
that would definitely cause the boosts to be un-useful :)
: But I also do need to do some tuning, because I'm adding other stuff
: to the query that is also
: One thing that I know has bogged me is when matching a phrase where I
: would expect mathematical formula (which is "just a subphrase"). I
: would have liked the phrase-query to extend as far as it wishes but not
: passed a given token... would this be possible ?
: Presumably a period token and
: put some text. Then i did some range queries like this :
: queryString=foo AND country:United States AND
: [EMAIL PROTECTED]:[-74.04047986086957 TO -73.95352333913044] AND
: [EMAIL PROTECTED]:[40.70662093913044 TO 40.793577460869564]
: It worked well with positive coordinates in Europe, not in t
How does sorting and ranking working together in
Lucene? Are they mutually exclusive? If the search
result is ranked first, then sorting may not have much
value. If sorting is done first, then ranking doesnt
have any meaning?
thanks!
_
One thing that I know has bogged me is when matching a phrase where I
would expect mathematical formula (which is "just a subphrase"). I
would have liked the phrase-query to extend as far as it wishes but not
passed a given token... would this be possible ?
Presumably a period token and this fe
Hi,
Was wondering what people's experience is with storing sentence (or
other) boundary information in Lucene. For instance, for phrase
queries, you may not want to match when two terms lie on either side of
a sentence boundary. I know for phrase queries the common approach is
to make the p
On Oct 28, 2005, at 10:38 AM, Erik Hatcher wrote:
So in this case a matching document must have both terms? Or could
it just have one or the other? If it must have both, you could try
a PhraseQuery with a slop of Integer.MAX_VALUE. PhraseQuery scores
closer matches higher.
Good to know,
I figured out the problem when I copied the document from the clipboard.
It had trailing spaces.
After I changed the database query to have an ltrim(rtrim(
for each query, prior to indexing, its fine now.
-Original Message-
From: Sharma, Siddharth
Sent: Thursday, October 27, 2005 4:35 P
On 27 Oct 2005, at 19:13, Andy Lee wrote:
I have a situation where I want to search for individual words in a
phrase as well as the phrase itself. For example, if the user
enters ["classical music"] (with quotes) I want to find documents
that contain "classical music" (the phrase) *and* th
How important is it that the search index be absolutely up to date? I
read from a RAMDirectory based index but the actual index is in a
FSDirectory. The way I managed it was to have the RAMDirectory
periodically (two hourly) reloaded. My data doesn't have to be
completely up to date so this wor
Hi,
for the last days I had the thought lingering in my mind that somehow I had to use the
RAMDirectory. I have a production system with plenty of memory so that would be nice.
However, it's a update-happy application and the index needs to be persistent (meaning
FSDirectory).
Therefore I ca
Hello here,
I'd like to do some geographical searches. Can somebody can tell me
where to go ?
At the moment i put the longitude and latitude in the index as i would
put some text. Then i did some range queries like this :
queryString=foo AND country:United States AND
[EMAIL PROTECTED]:[-74.0
14 matches
Mail list logo