Actually, I forgot that the new frange query parser can let you filter on
the output of a function...
http://www.lucidimagination.com/blog/tag/frange/
: : Maybe I'm missing something, but function queries aren't involved in
: : determining whether a document matches or not, only its score. How
: Maybe I'm missing something, but function queries aren't involved in
: determining whether a document matches or not, only its score. How is a a
: custom function / value-source going to filter?
it's not ... i didn't realize that was the context of the question, i was
just answering the speci
Maybe I'm missing something, but function queries aren't involved in
determining whether a document matches or not, only its score. How is a a
custom function / value-source going to filter?
~ David Smiley
hossman wrote:
>
>
> : I read about this chapter before. It did not mention how to cre
: I read about this chapter before. It did not mention how to create my
: own customized function.
: Can you point me to some instructions?
The first step is to figure out how you can code your custom functionality
as an extension of the ValueSource class...
http://lucene.apache.org/solr/api/or
Hi Elaine,
You can implement a function query in Solr in two ways:
1. Using Dismax request handler (with bf parameter).
2. Using the standard request handler (with _val_ field).
I recommend the first option.
Sandeep
Elaine Li wrote:
>
> Hi Sandeep,
>
> I read about this chapter before. It
Hi Chantal,
I thought about that - taking care of the comparison at the index
time. But the user's input scenarios are countless. That method will
not cover all the cases.
Doing comparison on the fly is better. I am just confused which way to
go since I have not done much customization of solr by
Hi Sandeep,
I read about this chapter before. It did not mention how to create my
own customized function.
Can you point me to some instructions?
Thanks.
Elaine
On Mon, Oct 5, 2009 at 10:15 AM, Sandeep Tagore
wrote:
>
> Hi Elaine,
> You can make use of http://wiki.apache.org/solr/FunctionQuer
Hi Elaine,
couldn't you do that comparison at index time and store the result in an
additional field? At query time you could include that other field as
condition.
Cheers,
Chantal
Elaine Li schrieb:
Hi Shalin,
Thanks for your attention.
I am implementing a language translation search. Th
Hi Elaine,
You can make use of http://wiki.apache.org/solr/FunctionQuery Function
Query to achieve this. You can do the computations in your customized
function to determine whether it is a hit or not.
Sandeep
-
Sandeep Tagore
--
View this message in context:
http://www.nabble.com/searc
Hi Shalin,
Thanks for your attention.
I am implementing a language translation search. The field1 and field2
are two language's sentence pair. field3 is a table of indexes of
words in field1 and field2. The table was created by some independent
algorithm. If string1 and string2 can be found align
On Sat, Oct 3, 2009 at 1:16 AM, Elaine Li wrote:
> Hi,
>
> My doc has three fields, say field1, field2, field3.
>
> My search would be q=field1:string1 && field2:string2. I also need to
> do some computation and comparison of the string1 and string2 with the
> contents in field3 and then determin
11 matches
Mail list logo