Re: search by some functionality

2009-10-13 Thread Chris Hostetter
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

Re: search by some functionality

2009-10-12 Thread Chris Hostetter
: 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

Re: search by some functionality

2009-10-06 Thread David Smiley @MITRE.org
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.

Re: search by some functionality

2009-10-06 Thread Chris Hostetter
: 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

Re: search by some functionality

2009-10-06 Thread Sandeep Tagore
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.

Re: search by some functionality

2009-10-05 Thread Elaine Li
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

Re: search by some functionality

2009-10-05 Thread Elaine Li
.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

Re: search by some functionality

2009-10-05 Thread Chantal Ackermann
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

Re: search by some functionality

2009-10-05 Thread Sandeep Tagore
/search-by-some-functionality-tp25721533p25751627.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: search by some functionality

2009-10-05 Thread Elaine Li
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

Re: search by some functionality

2009-10-05 Thread Shalin Shekhar Mangar
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

search by some functionality

2009-10-02 Thread Elaine Li
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