I found a solution already.
That is to convert the image from byte array of the image >> string
Then the string will be stored in the index. But beware, the byte will have
to be encoded to Base64
or the image retrieved will be mess up(meaning the pic is totally ruin)
blazingwolf7
Reader reader) Use this to store your image and use
> binaryValue() to get the image back.
>
> You can also look at storing the features of the image into the index in
> similar way.
>
> --Thanks and Regards
> Vaijanath N. Rao
>
> -Original Message-
> From:
al image
> instead of image in the index and fetch it at runtime (in the wrapper
> code).
>
> --
> Anshum Gupta
> Naukri Labs!
> http://ai-cafe.blogspot.com
>
> The facts expressed here belong to everybody, the opinions to me. The
> distinction is yours to draw
Hi,
As per title...is it possible to store image using Lucene? And if its
possible...how can I do that?
Thanks
--
View this message in context:
http://old.nabble.com/Storing-image-with-Lucene-tp26620107p26620107.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.
-
Thanks a lotit is truly cause by the length normalization there. I follow
your suggestion and change it to 1.0f. Now it works properly.
Thanks again
Ahmet Arslan wrote:
>
>
>> yah, before this i used default lucene...but i dont know
>> what end up wrong...some results with only single wo
yah, before this i used default lucene...but i dont know what end up
wrong...some results with only single word matching when to the top of the
results.
This i assumed is due to the score of the result being to high. Tat's why i
am trying to add additional boost
Ahmet Arslan wrote:
>
>
> : I
I am trying to create a query, that first will return a set of results, then
it will give a boost to the results that have all the keyword entered by the
user.
Ahmet Arslan wrote:
>
>
>> generate a query like the following:
>> title:(+chemistry +"national curriculum")
>
> I didn't understand
Hi,
I am currently creating a search engine and will need to generate a query
like the following:
title:(+chemistry +"national curriculum")
its mention that it can be done using the QueryParser but unfortunately I
can't find any reference in how to used it. Can anyone help me with this?
Thanks
When i print out the query, it will be like this:
(url:"terror india"^2.0 anchor:"terror india"^0.0 content:"terror india"
title:"terror india"^1.5 host:"terror india"^2.0 site:"terror india"^10.0)
I dont understand at all, only phrase query got problem, even my sloop has
no problem at all. I hav
hi,
I am trying to perform a search using Lucene. The keyword : "national india"
This phrase exists inside the content. I try searching it using Lucene and
it fail to return any results. Then I try to search it using Luke, with the
quotes and it also fail to return results.
Why is that happening
u indexed?
>
> -John
>
> On Fri, Apr 24, 2009 at 8:02 PM, blazingwolf7
> wrote:
>
>>
>> Hi,
>>
>> I created a query that will find a match inside documents. Example of
>> text
>> match "terror india"
>> And documents with this
Hi,
I created a query that will find a match inside documents. Example of text
match "terror india"
And documents with this exact match does exists.
My query generated is like this: (title:"terror india"^4 content:"terror
india"^3 site:"terror india")
But why does it not return any results?
can
Hi,
I am currently working on the calculation of score part in Lucene. And I
encounter a part that I do not understand.
return raw * Similarity.decodeNorm(norms[doc]); // normalize for field
As can be seen from the code above, the Similarity method decodeNorm() will
be called to decode the
> It is possible to disable norms for a field while indexing. This is
> explained
> better in the javadoc for Similarity, and here:
> http://lucene.apache.org/java/2_3_2/scoring.html
>
> Doron
>
> On Mon, Aug 18, 2008 at 5:59 AM, blazingwolf7
> <[EMAIL PROTECTED]&
Hi,
I am currently using Lucene for indexing. After a index a file, I will use
LUKE to open it and check the index. And there is 1 part that I am curious
about. In Luke, under the Document tab, I randomly select a document and
display it. At the bottom will be 4 columns, Field, ITSVopLBC, Norm an
Hi,
I am using Lucene to perform searching. I have certain information that will
be loaded everytime a search is run. This means, if there are multiple user
running the search at the same time, the information will be loaded multiple
times.
This is not effecient at all, so I was wondering is t
Hi,
I am working on extracting information from around 2 to 3 million document
and place it into the memory to retrieve it for filtering search results.
The application will have to extract the information and store it for every
search. I am wondering what will be the best way to store this info
necessary values at the beginning of
the search and store it. Later the values will be retrieve from there. I am
cracking my head trying to do that%-|
Grant Ingersoll-6 wrote:
>
>
> On Jul 10, 2008, at 1:42 AM, blazingwolf7 wrote:
>
>>
>> Well, I am trying to extract the UR
Thanks. I think I will follow the advice. But just for the sack of curiosity,
can what I suggest be done ?
Yonik Seeley wrote:
>
> On Thu, Jul 10, 2008 at 1:42 AM, blazingwolf7 <[EMAIL PROTECTED]>
> wrote:
>> Well, I am trying to extract the URL and contentLength from the
ment.
Any suggestion?
Yonik Seeley wrote:
>
> On Wed, Jul 9, 2008 at 11:13 PM, blazingwolf7 <[EMAIL PROTECTED]>
> wrote:
>> Sorry,but I am still quite new to Lucene. What exactly is "cp"?
>
> The unix command for copy (hence the smiley).
>
> Some of
Sorry,but I am still quite new to Lucene. What exactly is "cp"?
Yonik Seeley wrote:
>
> On Wed, Jul 9, 2008 at 9:01 PM, blazingwolf7 <[EMAIL PROTECTED]>
> wrote:
>> I had recently found out that Lucene will retrieve the content of a
>> document
>>
Hi,
I had recently found out that Lucene will retrieve the content of a document
from a file ".fdt". I am trying to retrieve the entire file in one go
instead of retrieving it based on document number. can it be done?
--
View this message in context:
http://www.nabble.com/.fdt-file-tp18373925p
Hi,
I had recently found out that Lucene will retrieve the content of a document
from a file ".fdt". I am trying to retrieve the entire file in one go
instead of retrieving it based on document number. can it be done?
--
View this message in context:
http://www.nabble.com/.fdt-file-tp18373913p
Thanks for the reply. I had try to start a new project already. Like I had
mention, I actually go through the code from the start of the application
and till the end where the scoring is done.
But unfortunately, I still fail to locate the part where Lucene open the
index to perform the search. A
hi,
I am fairly new to Lucene and is currently going over its source code. I had
read through the code for a few times, mapping it and all but I seems to be
facing a problem. I could go all the way to the calculation of score for
each result obtain, but strangely I did not managed to locate the
25 matches
Mail list logo