Getting hits in RequestHandler

2009-06-29 Thread pof
Hi, I am writing my own request handler and I was wondering how I go about get a list of hits back. Thanks. -- View this message in context: http://www.nabble.com/Getting-hits-in-RequestHandler-tp24248810p24248810.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: nested dismax queries

2009-06-29 Thread Michael Ludwig
Ensdorf Ken schrieb: For exmaple, a user might enter Alabama Biotechnology in the main search box, triggering a dismax request which returns lots of different types of results. They may then want to refine their search by selecting a specific industry from a drop-down box. We handle this by

Re: plans for switching to maven2 (after 1.4 release)?

2009-06-29 Thread Grant Ingersoll
I'm not particularly opposed to it, but I'm not exactly for it either. I very much have a love hate relationship with Maven. The simple things work fine w/ Maven and the power of pointing Eclipse or IntelliJ at a POM file and having the whole project imported and ready to work on w/o one

Re: plans for switching to maven2 (after 1.4 release)?

2009-06-29 Thread Erik Hatcher
I'll weigh in and throw a -1 to a Maven-only build system for Solr. If there is still a functioning Ant build, but Mavenites have a parallel setup, that's fine by me and I'd be -0 on that. These days, Buildr has my attention as a way to get the best of all worlds: access to Ant's powerful

Re: facets: case and accent insensitive sort

2009-06-29 Thread Sébastien Lamy
Thanks for your reply. I will have a look at this. Peter Wolanin a écrit : Seems like this might be approached using a Lucene payload? For example where the original string is stored as the payload and available in the returned facets for display purposes? Payloads are byte arrays stored with

Excluding Characters and SubStrings in a Faceted Wildcard Query

2009-06-29 Thread Ben
Hello, I've been using SOLR for a while now, but am stuck for information on two issues : 1) Is it possible to exclude characters in a SOLR facet wildcard query? e.g. [^,]* to match any character except an , ? 2) Can one setup the facet wildcard query to return the exact sub strings it

Re: Excluding Characters and SubStrings in a Faceted Wildcard Query

2009-06-29 Thread Erik Hatcher
Ben, Could you post an example of the type of data you're dealing with and how you want it handled? I suspect there is a way to accomplish what you want using an analyzed field, or by preprocessing the data you're indexing. Erik On Jun 29, 2009, at 9:29 AM, Ben wrote: Hello,

Re: plans for switching to maven2 (after 1.4 release)?

2009-06-29 Thread Grant Ingersoll
On Jun 29, 2009, at 9:01 AM, Grant Ingersoll wrote: I converted Mahout to Maven and it was a pain. I'd add, however, that now that it is done, it is fine, except of course, that Maven 2.1.0 doesn't work with it apparently because of upgrades.

RE: nested dismax queries

2009-06-29 Thread Ensdorf Ken
Filter queries with arbitrary text values may swamp the cache in 1.3. Are you implying this won't happen in 1.4? Can you point me to the feature that would mitigate this? Otherwise, the combinations aren't infinite. Keep the filters seperate in order to limit their number. Specify two

Re: Excluding Characters and SubStrings in a Faceted Wildcard Query

2009-06-29 Thread Ben
Hi Erik, I'm not sure exactly how much context you need here, so I'll try to keep it short and expand as needed. The column I am faceting contains a comma deliniated set of vectors. Each vector is made up of {Make,Year,Model} e.g. _ford_1996_focus,mercedes_1996_clk,ford_2000_focus I have

Re: nested dismax queries

2009-06-29 Thread Michael Ludwig
Ensdorf Ken schrieb: Filter queries with arbitrary text values may swamp the cache in 1.3. Are you implying this won't happen in 1.4? I intended to say just this, but I was on the wrong track. Can you point me to the feature that would mitigate this? What I was thinking of is the

RE: nested dismax queries

2009-06-29 Thread Ensdorf Ken
Filter queries with arbitrary text values may swamp the cache in 1.3. Are you implying this won't happen in 1.4? I intended to say just this, but I was on the wrong track. Can you point me to the feature that would mitigate this? What I was thinking of is the following:

Entire heap consumed to answer initial ping()

2009-06-29 Thread Phillip Farber
Jconsole shows the entire 2.1g heap consumed on the first request (a simple ping) to Solr after a Tomcat restart. After a Tomcat restart: 13140 tomcatvirtual=2255m resident=183m ... jsvc After the ping(): 13140 tomcatvirtual=2255m resident=2.0g ... jsvc Jconsole says my Tenured Gen

Re: plans for switching to maven2 (after 1.4 release)?

2009-06-29 Thread manuel aldana
I know migrating to maven2 has its pain points but in my view is worth it if one sees it as a long run investment. It follows standards/conventions and importing projects to IDEs like eclipse or IntelliJ is much more straightforward. When using maven getting used to a new project using it is

RE: plans for switching to maven2 (after 1.4 release)?

2009-06-29 Thread Smiley, David W.
FWIW I strongly agree with your sentiments, Manual. One of the neat maven features that isn't well known is just being able to do mvn jetty:run and have Jetty load up right away (no creating of a web-app directory or packaging of a war or anything like that). What I hate about ant based projects

Re: Reverse querying

2009-06-29 Thread AlexElba
Any other suggestion this suggestion doesn't loook to work AlexElba wrote: Otis Gospodnetic wrote: Alex Oleg, Look at MemoryIndex in Lucene's contrib. It's the closest thing to what you are looking for. What you are describing is sometimes referred to as prospective search,

Re: Entire heap consumed to answer initial ping()

2009-06-29 Thread Otis Gospodnetic
Hello, If Solr is your only webapp in that container, than this is probably a Solr issue. Note that Solr issue could also mean issue with your ping query. Perhaps you can provide some more information about the size of your index, number of docs, your ping query, including the relevant piece