Lucene index updation and performance

2009-01-16 Thread mitu2009
I am working on a job portal site and have been using Lucene for job search functionality. Users will be posting a number jobs on our site on a daily basis.We need to make sure that new job posted is searchable on the site as soon as possible. In this context, how do I update Lucene index when a

Maximum boost factor

2009-01-16 Thread mitu2009
Does anyone know the maximum boost factor value for a field in Lucene? Thanks! -- View this message in context: http://www.nabble.com/Maximum-boost-factor-tp21504717p21504717.html Sent from the Lucene - Java Users mailing list archive at Nabble.com. --

Boost factor in MultiFieldQueryParser

2009-02-15 Thread mitu2009
Hi, Can I boost different fields in MultiFieldQueryParser with different factors? Also, what is the maximum boost factor value I can assign to a field? Thanks a ton! Ed -- View this message in context: http://www.nabble.com/Boost-factor-in-MultiFieldQueryParser-tp22031092p22031092.html Sent

Synchronizing Lucene indexes across 2 application servers

2009-06-18 Thread mitu2009
I've a web application which uses Lucene for search functionality. Lucene search requests are served by web services sitting on 2 application servers (IIS 7).The 2 application servers are Load balanced using "netscaler". Both these servers have a batch job running which updates search indexes on

SpatialQuery for location based search using Lucene

2009-06-27 Thread mitu2009
Hi, My lucene index has got latitude and longitudes fields indexed as follows: doc.Add(new Field("latitude", latitude.ToString() , Field.Store.YES, Field.Index.UN_TOKENIZED)); doc.Add(new Field("longitude", longitude.ToString(), Field.Store.YES, Field.Index.UN_TOKENIZED)); I want t

Correctly indexing latitude and longitude values in Lucene

2009-06-28 Thread mitu2009
Hi, Am working on a "US based nearest city search within a given radius" functionality using Lucene API. Am indexing city's lat and long values in Lucene as follows: doc.Add(new Field("latitude", paddedLatitude, Field.Store.YES, Field.Index.UN_TOKENIZED)); doc.Add(new Field("longit

RE: Correctly indexing latitude and longitude values in Lucene

2009-06-28 Thread mitu2009
8213 Bremen > http://www.thetaphi.de > eMail: u...@thetaphi.de > >> -----Original Message- >> From: mitu2009 [mailto:musicfrea...@gmail.com] >> Sent: Sunday, June 28, 2009 7:39 PM >> To: java-user@lucene.apache.org >> Subject: Correctly indexing latitude and longitu

Need help regarding Lucene index/query

2009-07-04 Thread mitu2009
I want to have a "citystate" field in Lucene index which will store various city state values like: Chicago, IL Boston, MA San Diego, CA How do i store these values(shud it be tokenized or non-tokenized?) in Lucene and how do I generate a query (should it be phrasequery or termquery or somet

Preserving dots of an acronym while indexing in Lucene

2009-07-18 Thread mitu2009
Hi, If i want Lucene to preserve dots of acronyms(example: U.K,U.S.A. etc), which analyzer do i need to use and how? I also want to input a set of stop words to Lucene while doing this. -- View this message in context: http://www.nabble.com/Preserving-dots-of-an-acronym-while-indexing-in-Lucen

Storing words with apostrophe in Lucene index

2009-07-27 Thread mitu2009
Hi, I've a company field in Lucene Index. One of the company names indexed is : Moody's When user types in any of the following keywords,I want this company to come up in search results. 1.Moo 2.Mood 3.Moodys 4.Moody's How should I store this index in Lucene and what type of Lucene Query should

Handling synonyms using Lucene

2009-08-07 Thread mitu2009
Hi, What is the best way to handle synonyms (phrases) using Lucene? Especially, when I need to execute queries like :a OR b OR c NOT d How about adding a new field called "synonyms" to each document while indexing? This field's value would have a list of all synonyms. It would be added to a docu

Re: Handling synonyms using Lucene

2009-08-09 Thread mitu2009
opinions to me. The > distinction is yours to draw > > > On Sat, Aug 8, 2009 at 11:14 AM, mitu2009 wrote: > >> >> Hi, >> >> What is the best way to handle synonyms (phrases) using Lucene? >> Especially, >> when I need to execute q

Help needed ordering search results

2009-09-30 Thread mitu2009
Hi, I've 3 records in Lucene index. Record 1 contains healthcare in title field. Record 2 contains healthcare and insurance in description field but not together. Record 3 contains healthcare insurance in company name field. When a user searches for healthcare insurance,I want to show records i

Help needed bubbling up relevant records with most recent date

2009-10-01 Thread mitu2009
Hi, I've got 5 records in Lucene index. a.Record 1 contains--tax analysis.Date field value is March 2009 b.Record 2 contains--Senior tax analyst.Date field value is Aug 2009 c.Record 3 contains--Senior tax analyst.Date field value is July 2009 d.Record 4 contains--tax analyst.Date field value

Help needed figuring out reason for maxClauseCount is set to 1024 error

2009-10-07 Thread mitu2009
Hi, I've two sets of search indexes. TestIndex (used in our test environment) and ProdIndex(used in PRODUCTION environment). Lucene search query: +date:[20090410184806 TO 20091007184806] works fine for test index but gives this error message for Prod index. "maxClauseCount is set to 1024" If I

Need to know pros and cons of using RAMDirectory

2009-10-17 Thread mitu2009
Hi, I need to improve performance of my Lucene search query. Can I use RAMDirectory?Does it optimize performance?Is there any index size limit for this? I would appreciate if someone could list pros and cons of using a RAMDirectory. Thanks. -- View this message in context: http://www.nabble.co

Handling + as a special character in Lucene search

2009-10-21 Thread mitu2009
Hi, How do i make sure lucene gives me back relevant search results when my input string contains terms like c++? Lucene seems to ignore ++ characters. Thanks -- View this message in context: http://www.nabble.com/Handling-%2B-as-a-special-character-in-Lucene-search-tp26002815p26002815.html S

Resolving Lucene Index error

2009-10-21 Thread mitu2009
Hi, Why do I get error like this in Lucene and how to resolve it? Could not find file 'C:\Indexes_z3_1.del'. Thanks. -- View this message in context: http://www.nabble.com/Resolving-Lucene-Index-error-tp26002849p26002849.html Sent from the Lucene - Java Users mailing list archive at Nabble.c

Re: Handling + as a special character in Lucene search

2009-10-23 Thread mitu2009
em to have one.Am using Lucene.net version 2.1.0.3 Thanks for reading. mitu2009 wrote: > > How do i make sure lucene gives me back relevant search results when my > input string contains terms like c++? Lucene seems to ignore ++ > characters. > > Code details: When I ex