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
But then how can i search for feeds ???
On 10/6/07, Alf Eaton <[EMAIL PROTECTED]> wrote:
>
> Raghu Ram wrote:
> > Hi,
> > We have an application in which we want to index feeds. Each feed
> is a
> > collection of articles and some other metadata. The problem is that
> > sometimes we want to
I'm confused by this method. Why is the length set to maxDoc() and
not bytes.length? This means that the following snippet will throw an
ArrayIndexOutOfBoundsException in most cases:
byte[] b = new byte[1];
ir.norms(field, b, doc);
/** Read norms into a pre-allocated array. */
public s
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
Raghu Ram wrote:
> Hi,
> We have an application in which we want to index feeds. Each feed is a
> collection of articles and some other metadata. The problem is that
> sometimes we want to search for feeds and sometimes for articles. As far as
> I know lucene doesn't provide any abstraction f
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
"vivek sar" <[EMAIL PROTECTED]> wrote:
> Sorry, I'm using Lucene 2.2. We are using Lucene to index our database
> (Oracle) into documents for full-text search feature. Here is the
> process of indexing,
>
> 1) Have two IndexWriters which run in two different threads and write
> to two different di
For tips on improving indexing performance, start here:
http://wiki.apache.org/lucene-java/ImproveIndexingSpeed
And for searching performance, here:
http://wiki.apache.org/lucene-java/ImproveSearchingSpeed
Mike
"Mohammad Norouzi" <[EMAIL PROTECTED]> wrote:
> Hi everybody,
> I always used
If in general, the default values should be good for general purpose.
It'll be good to know which part you want to optimize, and exactly what
problem you want to solve.
But even you get very specific, nobody can tell you what's the best
configuration.
You have to try to adjust most variables to fi
Hi everybody,
I always used lucene with its default configuration values.now I want to
know if there is any document in which initial values for configuring a
Lucene project is specified (values for Lucene, App Server and JDK).
if anyone had such experience on achieving best performance of Lucene
10 matches
Mail list logo