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

Re: Storing image with Lucene

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

Re: Storing image with Lucene

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

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: 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 wo

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-29 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

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

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 hav

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: Query did not return results

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

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

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 the

Re: Index of Lucene

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

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 an

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 t

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 info

Re: .fdt file

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

Re: .fdt file

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

Re: .fdt file

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

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 >>

.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: http://www.nabble.com/.fdt-file-tp18373925p

.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: http://www.nabble.com/.fdt-file-tp18373913p

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. A

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