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
t;
>
> -Hoss
>
>
>
--
View this message in context:
http://www.nabble.com/search-by-some-functionality-tp25721533p25779702.html
Sent from the Solr - User mailing list archive at Nabble.com.
: 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
apter before. It did not mention how to create my
> own customized function.
> Can you point me to some instructions?
> Thanks.
> Elaine
>
>
--
View this message in context:
http://www.nabble.com/search-by-some-functionality-tp25721533p25767741.html
Sent from the Solr - User mailing list archive at Nabble.com.
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
.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/search-by-some-fun
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
/search-by-some-functionality-tp25721533p25751627.html
Sent from the Solr - User mailing list archive at Nabble.com.
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
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 determine if it is a hit.
What can I do to implement this?
Thanks.
E
12 matches
Mail list logo