Re: Custom Search algorithm integration

2007-10-10 Thread Grant Ingersoll
On Oct 10, 2007, at 9:51 AM, [EMAIL PROTECTED] wrote: Yes, image field is binary. However, image size is not more than 1KB. We would use a combination of text search to narrow down the results. But once we get the results, we would want to search all images (within the above resultset) wit

Re: Custom Search algorithm integration

2007-10-10 Thread [EMAIL PROTECTED]
Yes, image field is binary. However, image size is not more than 1KB. We would use a combination of text search to narrow down the results. But once we get the results, we would want to search all images (within the above resultset) with the user given image file. Ideally, your 2nd approac

Re: Custom Search algorithm integration

2007-10-06 Thread Prakash Prabhu
Yes, image field is binary. However, image size is not more than 1KB. We would use a combination of text search to narrow down the results. But once we get the results, we would want to search all images (within the above resultset) with the user given image file. Ideally, your 2nd approac

Re: Custom Search algorithm integration

2007-10-06 Thread Grant Ingersoll
I presume that the image field is a binary field, right? I can think of a couple of things that _may_ work for you: 1. You create a dummy token on the "image" field, and then store the image data as a payload on that token. Then you can use the payload mechanism to score the field by overri

Re: Custom Search algorithm integration

2007-10-06 Thread [EMAIL PROTECTED]
Thank you Grant but FuntionQuery doesnt solve the problem. Looks like I didnt explain the problem properly. Let me try it again: 1. We have a document in which there are 4 text fields and a image field. 2. We have a special algorithm to perform match based on the image. In the sense, if 2 images

Re: Custom Search algorithm integration

2007-10-05 Thread Grant Ingersoll
You may want to look at the FunctionQuery capability, either in Lucene, or the expanded capabilities (recently added) in Solr. -Grant On Oct 4, 2007, at 2:39 PM, [EMAIL PROTECTED] wrote: Hi, Were planning to use Lucene or Solr within our application and wanted to know if it can support the

Custom Search algorithm integration

2007-10-04 Thread [EMAIL PROTECTED]
Hi, Were planning to use Lucene or Solr within our application and wanted to know if it can support the following: Scenario: We have (say) 5 fields in a document which need to be indexed. 4 fields are indexed by Lucene. The 5th field is not indexed as it has data that cant be indexed or searched