Does lucene support on the fly creation of new cores

2009-05-19 Thread KK
Hi All, I've been using solr and I was trying to register new cores on the fly but due to some issues with the latest solr1.3 I'm not able to do so. I'm using solrJ for posting docs to solr. Now I want to know does lucene support multiple indexes, I think yes, it does support. Can anyone tell me ho

Bay Area Lucene Group?

2009-05-19 Thread Jason Rutherglen
On the topic of user groups, is there a Bay Area Lucene users group?

Re: Seattle / PNW Hadoop + Lucene User Group?

2009-05-19 Thread Bradford Stephens
I'm going to try to secure a video cam for webcasting, and there'll be a wiki :) Let me know if you have any suggestions! On Tue, May 19, 2009 at 12:06 PM, Amin Mohammed-Coleman wrote: > Will there any videocasts/presentation notes? I would so so so so like to > turn up for that! Hope it's grea

Re: lucene source code changes

2009-05-19 Thread Grant Ingersoll
You might have a look at the org.apache.lucene.search.function package (aka Function Queries) and what they have to offer. Basically, they can be used to incorporate field values into the score. -Grant On May 19, 2009, at 10:12 AM, Alex Steward wrote: Hello, I have a need to implement a

NE Lucene User's Interest Group

2009-05-19 Thread Matthew Hall
Since everyone else seems to be trying to start these up I figured I would poll the community and see if there is any interest in the greater new england ares for a Lucene users group. Searching over on Google leads me to believe that such a group doesn't currently exist, and I think it would

Re: Searching index problems with tomcat

2009-05-19 Thread Matthew Hall
java-user-h...@lucene.apache.org - To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org __ Information from ESET NOD32 Antivirus, ver

Re: Seattle / PNW Hadoop + Lucene User Group?

2009-05-19 Thread Amin Mohammed-Coleman
Will there any videocasts/presentation notes? I would so so so so like to turn up for that! Hope it's great! Cheers Amin On Tue, May 19, 2009 at 6:52 PM, Bradford Stephens < bradfordsteph...@gmail.com> wrote: > Hello everyone! We (finally) have space secured (it's a tough task!): > University o

Re: Searching index problems with tomcat

2009-05-19 Thread Marco Lazzara
it has documents, etc. >> >> >> -- >> Ian. >> >> - >> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org >> For additional commands, e-mail: java-user-h...@lucene.apach

Re: Seattle / PNW Hadoop + Lucene User Group?

2009-05-19 Thread Bradford Stephens
Hello everyone! We (finally) have space secured (it's a tough task!): University of Washington, Allen Center Room 303, at 6:45pm on Wednesday, May 27, 2009. I'm going to put together a map, and a wiki so we can collab. What I'm envisioning is a meetup for about 2 hours: we'll have two in-depth tal

Re: Searching index problems with tomcat

2009-05-19 Thread Matthew Hall
Things that could help us immensely here. Can you post your indexReader/Searcher initialization code from your standalone app, as well as your webapp. Could you further post your Analyzer Setup/Query Building code from both apps. Could you further post the document creation code used at ind

Re: Too many results with RegexQuery

2009-05-19 Thread Ian Lea
To get the first n clauses you could maybe create your own query subclassing RegexQuery with an implementation of getEnum(reader) that returned a FilteredTermEnum that was a subclass of RegexTermEnum that stopped after the first n. That's made up from following the javadoc and I've no idea if it i

Re: Searching index problems with tomcat

2009-05-19 Thread Ian Lea
> ... > There are no exceptions.When I run the query a new shell is displayed but >  with no result. New shell? > _*Are you sure the index is the same - what do IndexReader.maxDoc(), > numDocs() and getVersion() say, standalone > and in tomcat? > > *_What do you mean with this question?? IndexRe

Re: Using Luke on a Lucene Index in a Database

2009-05-19 Thread Erick Erickson
Well, you haven't really provided much in the way of details.For instance, what does it mean that your Lucene index is stored in a database"? Did you store it as a BLOB? Your problem statement is very hard to understand, please explain in more detail. Pretend you don't know a thing about your app (

Re: lucene code changes

2009-05-19 Thread Alex Steward
 I have a need to implement an custom inverted index in Lucene. I have files like the ones I have attached here. The Files have words and and scores assigned to that word. There will 100's of such files. Each file will have atleast 5 such name value pairs. Note: Currently the file only shows

lucene source code changes

2009-05-19 Thread Alex Steward
Hello,  I have a need to implement an custom inverted index in Lucene. I have files like the ones I have attached here. The Files have words and and scores assigned to that word. There will 100's of such files. Each file will have atleast 5 such name value pairs. Note: Currently the file onl

Re: RE: how to get the word before and the word after the matched Term?

2009-05-19 Thread Kamal Najib
Thank you for the reply Aditya, Kamal. Original Message: Continuing to what Matt said, answer to your question: there is no direct library to give this. Also try sandbox based "highlight" related code base. Best Regards, Aditya -Original Message- From: Matthew Hall [mailto:mh...@informa

Re: Using Lucene for a classification problem

2009-05-19 Thread Karl Wettin
Hi Jeetu, wether or not it makes sense to use Lucene as your data matrix depends a bit on your requirements. There is a Bayesian classifier available in the issue tracker that might be helpful, although it does need a little bit of refact

Re: Searching index problems with tomcat

2009-05-19 Thread Marco Lazzara
il: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org __ Information from ESET NOD32 Antivirus, version of virus signature database 4085 (20090519) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com

Re: Using Luke on a Lucene Index in a Database

2009-05-19 Thread ChristophD
This isn't really addressing my problem. I already have a running search system and just want to analyze it. cheers, Christoph amin1977 wrote: > > Are you using an object relational mapping tool like Hibernate? if you > are > you could use hibernate search to index your persistent entities a

Re: Using Luke on a Lucene Index in a Database

2009-05-19 Thread Amin Mohammed-Coleman
Are you using an object relational mapping tool like Hibernate? if you are you could use hibernate search to index your persistent entities and then use luke to inspect the indexes. There may other ways of doing it I guess. Just a thought. Cheers Amin On Tue, May 19, 2009 at 9:23 AM, Christo

Re: Too many results with RegexQuery

2009-05-19 Thread Huntsman84
I tryed that solution at my first attempt, but the result is that my application turns too slow. What I need is to create a query with a small amount of clauses, 100-200, using some kind of filter. For example, if my RegexQuery generates 5000 clauses, I just want from the 100 first clauses (in al

Using Luke on a Lucene Index in a Database

2009-05-19 Thread ChristophD
Hello, I would like to use Luke to connect to an existing Lucene Index which is stored in a Database. However, Luke seems only to be able to read file based indexes. What are my options to analyze the DB index? thx, Christoph -- View this message in context: http://www.nabble.com/Using-Luke-o

Re: Searching index problems with tomcat

2009-05-19 Thread Ian Lea
So you say it isn't really a webapp, and it appears that it isn't a webstart app either since the index is sitting in a local folder. But you are deploying a .war file into tomcat, right? Has tomcat got the same libraries as your standalone app? What do the tomcat logs say? Any exceptions? Are

Re: Too many results with RegexQuery

2009-05-19 Thread Ian Lea
If you mean you are getting BooleanQuery.TooManyClauses then the simple solution is BooleanQuery.setMaxClauseCount(int maxClauseCount). See the javadocs for default values and some suggestions on workarounds. And the FAQ. And Google. If this isn't what you are getting, please tell us *exactly*