Get results from partial search keyword

2007-08-26 Thread spinergywmy
Hi guys, How can I get the search result like "searching, searches, searcher, searchers, searched" while I just key in search keyword? And the words within the quotes will be highlighted as well. Thank you. -- View this message in context: http://www.nabble.com/Get-results-from-partial-s

RE: Get results from partial search keyword

2007-08-27 Thread spinergywmy
Hi, Just wonder do you have any example that I can refer to on how to use the stemmer filter? Thank you. -- View this message in context: http://www.nabble.com/Get-results-from-partial-search-keyword-tf4333228.html#a12344878 Sent from the Lucene - Java Users mailing list archive at Nabbl

search results with sort

2007-09-10 Thread spinergywmy
Hi, I have this exception there are more terms than documents in field "Title", but it's impossible to sort on tokenized fields. I'm try to sort the result by Title and the field title is un_tokenized and it has only one term such as document, 06, rational, etc, and some other fields have

Re: search results with sort

2007-09-13 Thread spinergywmy
Hi, Thanks. However, I tested with more terms in title field, for instance, lucene sort, abc_def, and that works. I deleted the old index file and re-index the whole documents again, and it works fine. So, I'm little bit confuse about how that really work. Please advise. -- View t

reindex all files

2006-11-01 Thread spinergywmy
Hi, Basically what I want to do is to reindex all the files in particular directory. I wonder how I can do this with Lucene search? And I noticed that reindexing all the files will actually take a lot of time and resources, so how I can optimize the preformance problem. Hope there are exam

search within search

2006-11-01 Thread spinergywmy
Hi, I want to perform a search within search feature in my application, so I having this problem and stuck at this point. I be able to retrieve search index from my first search, but having problem to search within the result that I retrieved. I have gone through some of the mailing list arch

search within search

2006-11-02 Thread spinergywmy
Hi, I want to perform a search within search feature in my application, so I having this problem and stuck at this point. I be able to retrieve search index from my first search, but having problem to search within the result that I retrieved. I have gone through some of the mailing list arch

Re: search within search

2006-11-02 Thread spinergywmy
Hi, Thanks Erik. Is there any example that I can refer to cause I m actually quite new to apache lucene although it is sometimes quite straight forward, but I hope u understand and it is better to have a guide for me. Thanks regards, Wooi Meng -- View this message in context: http:

Re: reindex all files

2006-11-02 Thread spinergywmy
Hi, Thanks Erik. I hope u can provide me a complete example cause I actually quite new to lucene search, sorry for the inconvenience. Thanks. regards, Wooi Meng -- View this message in context: http://www.nabble.com/reindex-all-files-tf2558188.html#a7135033 Sent from the Lucene - Ja

Re: reindex all files

2006-11-02 Thread spinergywmy
Hi, Thanks Erik. I will take a look on it. regards, Wooi Meng -- View this message in context: http://www.nabble.com/reindex-all-files-tf2558188.html#a7149611 Sent from the Lucene - Java Users mailing list archive at Nabble.com. ---

Re: search within search

2006-11-02 Thread spinergywmy
Hi, I have look at the examples from lucene source, and try out myself but it doesn't work. Perhaps u can point out where I did wrong. Below r the codes that I developed: public String search(String searchString) throws IOException, Exception { //System.out.println

Re: search within search

2006-11-03 Thread spinergywmy
Hi, Doron, good call, thanks. I have another problem is I do not perform the real search within search feature which according to the way that I have coded, because for the second time searching, I actually go back to the index directory to search the entire indeces again rather then cache

Re: search within search

2006-11-03 Thread spinergywmy
Hi, Doron, thanks for the advice. regards, Wooi Meng -- View this message in context: http://www.nabble.com/search-within-search-tf2558237.html#a7171019 Sent from the Lucene - Java Users mailing list archive at Nabble.com. --

Filter query method

2006-11-06 Thread spinergywmy
Hi, Is there anyone built your own filter query before, in order to perform search within search results. Meaning after the first search, the result is cached and the second search searches the result that return from the first searched, and is not searching the whole index again. Just won

Re: Filter query method

2006-11-06 Thread spinergywmy
Hi Chris, My scenario is: I will key in the first search value in the text box, then the first search result will be return. Next, I will clear the first search value and key in the second search value within the same text box. The 2nd search value will search the first result, for inst

Re: Filter query method

2006-11-07 Thread spinergywmy
Hi Chris, Another thing I would like to emphasize is: for example, if my first query is "Java" and it returned 3 records. For my 2nd query is "Tomcat", and within my first search, there is only one record contain the word "Tomcat", this will be my intention to do so. Is it possible

Re: Filter query method

2006-11-07 Thread spinergywmy
Hi Chris, For my case, I want the scores of final query to be based on the second query = "Tomcat". So, is there any example that I can refering to? Thanks. regards, Wooi Meng -- View this message in context: http://www.nabble.com/Filter-query-method-tf2586547.html#a7230856 Sent from th

Re: Filter query method

2006-11-07 Thread spinergywmy
Hi Chris, I have made some modification for the codes that I have posted yesterday. reader = IndexReader.open(DsConstant.indexDir); Searcher searcher = new IndexSearcher(reader); Analyzer analyzer = new StandardAnalyzer();

Re: Filter query method

2006-11-08 Thread spinergywmy
Hi Doron, Thanks for the suggestion. However, the solution that u suggest come close to what I really want. The scenario sound like this: when I key in the first search query, for instance, "Java", the return result has 3 records. Next, the perform the second search, which the q

Re: Filter query method

2006-11-08 Thread spinergywmy
Hi, Thanks, I will try it again. regards, Wooi Meng -- View this message in context: http://www.nabble.com/Filter-query-method-tf2586547.html#a7250452 Sent from the Lucene - Java Users mailing list archive at Nabble.com.

Re: Filter query method

2006-11-10 Thread spinergywmy
Hi Doron, I m not sure I m implement your suggestion correctly. The way I did is I have 2 separate methods controlling by the check box. I used basic search method for the first time and that will look up the index from the directory. After I got the result, I will check the checkbox and t

Indexing Performance issue

2006-11-10 Thread spinergywmy
Hi, I having this indexing the pdf file performance issue. It took me more than 10 sec to index a pdf file about 200kb. Is it because I only have a segment file? How can I make the indexing performance better? Thanks regards, Wooi Meng -- View this message in context: http://www.nabble

Re: Filter query method

2006-11-12 Thread spinergywmy
Hi Doron, How to reuse the searcher? Is there any example on how to do this? Thanks regards, Wooi Meng -- View this message in context: http://www.nabble.com/Filter-query-method-tf2586547.html#a7310277 Sent from the Lucene - Java Users mailing list archive at Nabble.com. -

Re: how to search string with words

2006-11-21 Thread spinergywmy
Hi guys, I have this problem searching all fields (metadata) using SpanFirstQuery. My scenario is if I just searching on one thing using SpanFirstQuery is not a problem. However, if I would have to search everything than I will not have any result return. For example, I search ba

Re: how to search string with words

2006-11-21 Thread spinergywmy
Hi, Thanks Martin. I have one question, what does that slop does within span near query? What is the difference between 0 and 1? I have seen the source from Lucene, one of the example putting slop as 4. Could u pls explain that to me. Thanks. regards, Wooi Meng -- View this message in contex

Re: how to search string with words

2006-11-21 Thread spinergywmy
Hi Erick, I did take a look at the link that u provided me, and I have try myself but I have no return reesult. My search string is "third party license readme" Below r the codes that I wrote, please point me out where I have done wrong. readerA = IndexReader.open(DsConstant.ind

Delete contents from index

2006-11-21 Thread spinergywmy
Hi, How can I delete the contents from Index file? Is there any example that I can refer to? Thanks. regards, Wooi Meng -- View this message in context: http://www.nabble.com/Delete-contents-from-index-tf2668566.html#a7441161 Sent from the Lucene - Java Users mailing list archive at Na

Multiple query criteria search

2006-11-30 Thread spinergywmy
Hi guys, I m actually trying on search indeces by entering multiple queries, for instance, I have 4 textboxes with search criterias such as AND, OR, NOT and Exact phrase. I m using queryParser operator and then add the query into booleanquery, therefore I dont think my search result was correc

indexing performance issue

2006-11-30 Thread spinergywmy
Hi guys, I have posted this question before and this time I found that it could be pdfbox problem and this pdfbox I downloaded doesn't use the log4j.jar. To index the app 2.13mb pdf file took me 17s and total time to upload a file is 18s. So, is there any way or others software than pdfbox

Re: indexing performance issue

2006-11-30 Thread spinergywmy
Hi Grant, Thanks for the tips. I will take ur adviced and look into the link that u send to me. For my scenario will be every time the users upload the single file, I need to index that particular file. Previously was because the previous version of pdfbox integrate with log4j.jar file and

How to cut certain index

2006-12-11 Thread spinergywmy
Hi guys, I m wondering how I can cut certain index out of the index file and paste it to other index file? For instance, I have index a particular file with contents and other necessary info into particular index folder, then I would like to move the index info that I have been indexed to othe

How to delete partial index

2006-12-12 Thread spinergywmy
Hi, I have ask this question before but may be the question wasn't clear. How can I delete particular index that I want to and keep the rest? For instance, I have been indexed document Id, date, user Id and contents, my question is does that particular contents will be deleted if I just sp

Re: How to delete partial index

2006-12-12 Thread spinergywmy
Hi, I m just wondering is there any unique key that I can use to delete particular document? How can I check the postion of a particular document inside index file? Is there any example that I can refer to on how to delete documents by a term. For second scenario, the reason why I m doing

Re: How to delete partial index

2006-12-12 Thread spinergywmy
Hi, When I perform delete document and delete document based on the Id, does the Id is the unique key and by deleting based on the Id, all the related info will be deleted as well? If so, how can I know the document Id? Thanks. regards, Wooi Meng -- View this message in context: http://www

Re: How to delete partial index

2006-12-12 Thread spinergywmy
Hi, I manage to delete the document based on term, but that is just 1 part. I wonder do lucene support how I can pull out the info that I have been indexed and place it into other index file. Is it the only way that I have to use indexwriter to perform indexing again with all the necessary fie

Index Excel File

2006-12-13 Thread spinergywmy
Hi, Is anyone index an excel file before? I took a look at the API classes provided by POI HSSF, however, I did not find any method to extract the text from excel file and index them. Please assist and leet me know where I can find the example to refer to. Thanks regards, Wooi Meng -- V

Re: Index Excel File

2006-12-13 Thread spinergywmy
Hi, Can you show me the example on how to extract the text from excel file and index them? Thanks regards, Wooi Meng -- View this message in context: http://www.nabble.com/Index-Excel-File-tf2817920.html#a7865632 Sent from the Lucene - Java Users mailing list archive at Nabble.com. --

Re: Index Excel File

2006-12-13 Thread spinergywmy
Hi, I did use jexcelapi to extract the contents out of excel file, however, I couldn't get the content when I sysout. Below are the codes that I wrote, perhaps you can point out where I have done wrong. Thanks. Workbook excelDoc = Workbook.getWorkbook(new FileInputStream(file));

Index XML file

2006-12-14 Thread spinergywmy
Hi, Just wondering is there anyone used Digester to extract xml content and index the xml file? Is there any source that I can refer to on how to extract the xml contents. Or is there any other xml parser is much easier to use? Thanks regards, Wooi Meng -- View this message in context:

Search index performance

2006-12-14 Thread spinergywmy
Hi, Just wondering if my repository has 1TB of index file, when I perform searching, does it takes up or allocate a lot of memory usage to read and retrieve the results? Thanks regards, Wooi Meng -- View this message in context: http://www.nabble.com/Search-index-performance-tf2825038

Perform indexing and searching concurrently

2007-01-14 Thread spinergywmy
Hi, I'm wondering what will happened if I performance indexing and have 10 peoples do searching at the same time? Can I retrieve the results while I do index, and the other way around? Thanks. regards, Wooi Meng -- View this message in context: http://www.nabble.com/Perform-indexing-an

Re: Perform indexing and searching concurrently

2007-01-15 Thread spinergywmy
Hi, What I have done is I declare a reader = IndexReader.open(dir); then mSearcher = new IndexSearcher(reader); after the above I close the searcher but I didn't close the reader. And I'm wondering is it ok if I did not close the reader, and what will happened if I did not close it? Thanks