(~) opertor query....

2007-12-12 Thread Shakti_Sareen
Hi All, I am parsing this query: "Auto* machine"~4. Will it work? If yes then right now it's not working. Can anyone help on this? Thanks & Regards Shakti Sareen DISCLAIMER: This email (including any attachments) is intended for the sole use of the in

like search in NOT operator

2007-12-11 Thread Shakti_Sareen
Hi all, I am using StandardAnalyzer() to index the data. Actual data is: "signals by magnets of different strength" I want to search for "sign* NOT Machine".how can I do that?? I am using QueryParser. Please help on this issue. Thanks Shakti Sareen DISCLAIMER: This email (incl

help required ... ~ operator

2007-12-11 Thread Shakti_Sareen
Hi all, I am using StandardAnalyzer() to index the data. Actual data is: "signals by magnets of different strength" when I am parsing a query: "signals strength"~2 , I am getting a hit. But when I am parsing a query "strength signals"~2 , I am not getting a hit. WHY???it should work

help required ... ~ operator

2007-12-10 Thread Shakti_Sareen
Hi all, I am using StandardAnalyzer() to index the data. I am getting false hits in ~ operator query. Actual data is: "signals by magnets of different strength" and when I am parsing a query: "signals strength"~2 , I am getting a hit which is a false result. I am using QueryParser. Please

RE: how to increase the performance!!!

2007-11-26 Thread Shakti_Sareen
Hi all, The size of the folder where I am keeping the index files is 160 MB containing 3277 documents. That's not too much. If you are doing things right, search should not take much time. Below is the code : String sNumber = null; hits = searcher.search(query); for (int i = 0;i < hits

how to increase the performance!!!

2007-11-26 Thread Shakti_Sareen
Hi all, I am using Searching is taking a lot of time. The size of the folder where I am keeping the index files is 160 MB containing 3277 documents. I am using... query = parser.parse("ANY"); hits = searcher.search(query); How can I improve the performance of searching? Regards Sh

help required

2007-11-23 Thread Shakti_Sareen
ybe someone else has a better answer, but if you insist on using StandardAnalyzer, I have a feeling it will be problematic. On Nov 22, 2007 6:02 PM, Shakti_Sareen < [EMAIL PROTECTED]> wrote: > Hi > > But the file I am indexing is very big and I don't know which word will &g

RE: help required urgent!!!!!!!!!!!

2007-11-22 Thread Shakti_Sareen
ld at least). Here's a sample code: // Indexing. Document doc = new Document(); doc.add(new Field("field", "soft-wash", Store.NO, Index.UN_TOKENIZED )); // Search Query q = new PrefixQuery(new Term("field", "soft-wa")); Does tha

help required urgent!!!!!!!!!!!

2007-11-22 Thread Shakti_Sareen
Hi I am using StandardAnalyser() to index the data. But I want to do a like search on a word containing Hyphen For example it want to search a word "soft-wa*" I am getting no hits for that. It is said that if the hyphen is there in the word, then we should include that word in the double quotes (

urgent

2007-11-17 Thread Shakti_Sareen
Hi I am facing problem in searching the word containing forward slash (/). My index file contains more then one documents. On searching for the word "U/S" in the claims field I am getting hits. But the word "U/S" is actually not there in the document. Below is the code I am using for s