Storing image with Lucene

2009-12-02 Thread blazingwolf7
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.

Re: Storing image with Lucene

2009-12-02 Thread blazingwolf7
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 On Thu, Dec 3, 2009 at 8:02 AM, blazingwolf7 blazingwo...@gmail.com wrote: Hi

Re: Storing image with Lucene

2009-12-02 Thread blazingwolf7
() 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: blazingwolf7 [mailto:blazingwo...@gmail.com] Sent: Thursday, December 03, 2009 8:02 AM To: java-user

Re: Storing image with Lucene

2009-12-02 Thread blazingwolf7
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 wrote: oh

Re: Generating Query for Multiple Clauses in a Single Field

2009-07-30 Thread blazingwolf7
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 what

Re: Generating Query for Multiple Clauses in a Single Field

2009-07-30 Thread blazingwolf7
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

Re: Generating Query for Multiple Clauses in a Single Field

2009-07-30 Thread blazingwolf7
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 word

Generating Query for Multiple Clauses in a Single Field

2009-07-28 Thread blazingwolf7
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

Why Lucene phrase searching fail?

2009-04-27 Thread blazingwolf7
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?

Re: Why Lucene phrase searching fail?

2009-04-27 Thread blazingwolf7
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 have exact

Re: Query did not return results

2009-04-25 Thread blazingwolf7
? -John On Fri, Apr 24, 2009 at 8:02 PM, blazingwolf7 blazingwo...@gmail.comwrote: 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

Query did not return results

2009-04-24 Thread blazingwolf7
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 anyone

Score Boosting

2008-08-18 Thread blazingwolf7
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

Index of Lucene

2008-08-17 Thread blazingwolf7
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

Re: Index of Lucene

2008-08-17 Thread blazingwolf7
. 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]wrote: Hi, I am currently using Lucene for indexing. After a index a file, I will use LUKE to open

Storing information

2008-07-21 Thread blazingwolf7
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

ArrayList or HashMap

2008-07-14 Thread blazingwolf7
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

.fdt file

2008-07-09 Thread blazingwolf7
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:

.fdt file

2008-07-09 Thread blazingwolf7
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:

Re: .fdt file

2008-07-09 Thread blazingwolf7
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 from a file .fdt. I am trying to retrieve the entire file

How Lucene Search

2008-06-26 Thread blazingwolf7
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

Re: How Lucene Search

2008-06-26 Thread blazingwolf7
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.