Re: Solr 1.3 try to fire delta-import.

2008-10-08 Thread Erik Hatcher
olr into Tomcat, you just need a binary solr.war, you don't need to be repackaging it yourself - unless you're doing something highly custom. And if do need to do something highly custom, I still strongly suggest you back up steps to get things working. Erik On Oct 8, 2

Using the more like this feature in solrj.

2008-10-08 Thread Erik Holstad
Hi! Have been going though the documentation for the more like this/these feature but haven't found anything about how to use it in Solrj. Regards Erik

Re: Using the more like this feature in solrj.

2008-10-09 Thread Erik Holstad
Thanks Bruce! That worked very well. Erik On Wed, Oct 8, 2008 at 9:14 PM, Bruce Ritchie <[EMAIL PROTECTED]>wrote: > Erik, > > I just got this to work myself and the documentation was only partially > helpful in figuring it out. Two main points on making this work via sor1j: &

Re: solr 1.3 list of language managed org.apache.lucene.analysis

2008-10-10 Thread Erik Hatcher
080 > Erik

Re: Creating facet filters dinamically

2008-10-14 Thread Erik Hatcher
Sounds like Solr's faceting is exactly what you're looking for. Have you given it a try? How's it working for you? Erik On Oct 14, 2008, at 5:44 AM, klazzthy wrote: Hello, I am going mad these days trying to improve my site. I am trying to do something that I

Re: Need Help, Can I query the index from command line

2008-10-14 Thread Erik Hatcher
Solr's new DataImportHandler can index RSS (and Atom should be fine too) feeds. Erik On Oct 14, 2008, at 11:37 AM, msizec wrote: Thank you for your help. I've just realized that Solr could not index pages from the web. I wonder if someone of you guys would know an

Re: Retrieving a non-indexed but stored field

2008-10-14 Thread Erik Hatcher
ed, either as fl=url, or fl=* Erik

Re: Tree Faceting Component

2008-10-18 Thread Erik Hatcher
Jeremy, Great troubleshooting! You were spot on. I've posted a new patch that fixes the issue. Erik On Oct 16, 2008, at 9:53 PM, Jeremy Hinegardner wrote: After a bit more investigating, it appears that any facet tree where the first item is numerical or boolean or som

Re: Delete by query isn't working for a specific query

2008-10-27 Thread Erik Hatcher
I don't think delete-by-query supports purely negative queries, even though they are supported for q and fq parameters for searches. Try using: *:* AND -deptId:[1 TO *] Erik On Oct 27, 2008, at 9:21 AM, Alexander Ramos Jardim wrote: Hey pals, I am trying to delete a c

Re: Override Similarity

2008-10-28 Thread Erik Hatcher
On Oct 28, 2008, at 6:33 AM, Kraus, Ralf | pixelhouse GmbH wrote: is there a chance to override the Similarity in my search ? In fact I want that all result return a 1 (with the idf methode). Sure thing, see Solr 1.3.0's example/solr/conf/schema.xml

Re: replication handler - compression

2008-10-30 Thread Erik Hatcher
+1 - the GzipServletFilter is the way to go. Regarding request handlers reading HTTP headers, yeah,... this will improve, for sure. Erik On Oct 30, 2008, at 12:18 AM, Chris Hostetter wrote: : You are partially right. Instead of the HTTP header , we use a request : parameter

Re: Performanec Lucene / Solr

2008-10-31 Thread Erik Hatcher
="org.apache.solr.request.PHPSerializedResponseWriter"/> Then in PHP, hit Solr directly like this: $response = unserialize(file_get_contents($url)); Where $url is something like http://localhost:8983/solr/select?q=*:* Erik

Re: Performanec Lucene / Solr

2008-10-31 Thread Erik Hatcher
: INFO: [core_de] webapp=/solr path=/select/ params={wt=phps&query=Tools&records=30&start_record=0} status=500 QTime=1 The parameter name should be "q" instead of "query". And rows instead of records, and start instead of start_record. :) Erik

Re: What are the way to update / delete solr datas?

2008-10-31 Thread Erik Hatcher
On Oct 31, 2008, at 11:40 AM, Vincent Pérès wrote: The last possibility is to use the solr-ruby library. If you're using Ruby, that's what I'd use. Were your other proposals to still do those calls from Ruby, but with the HTTP library directly? Erik

Re: date range query performance

2008-10-31 Thread Erik Hatcher
t exists) would be fine. Yeah, this should work fine: default="NOW/DAY" multiValued="false"/> Erik

Re: Choosing Which Branch To Use

2008-11-04 Thread Erik Hatcher
R in /lib so no need to patch Solr locally for that. Erik On Nov 4, 2008, at 7:20 PM, Chris Harris wrote: My current pre-production Solr install is a 1.3 pre-release build, and I think I'm going to update to a more recent version before an upcoming product release. Actually, "rele

Re: Need to write a start.jar file

2008-11-05 Thread Erik Hatcher
odern servlet container should be fine. I'd just stick with Jetty and the built-in start.jar unless you have a compelling reason to switch. Erik On Nov 4, 2008, at 11:16 PM, Muhammed Sameer wrote: Salaam, I read somewhere that it is better to write a new start.jar file th

Re: Throughput Optimization

2008-11-05 Thread Erik Hatcher
One quick question are you seeing any evictions from your filterCache? If so, it isn't set large enough to handle the faceting you're doing. Erik On Nov 4, 2008, at 8:01 PM, wojtekpia wrote: I've been running load tests over the past week or 2, and I can&#x

Re: Solr Documentation

2008-11-06 Thread Erik Hatcher
On Nov 6, 2008, at 1:54 AM, Sajith Vimukthi wrote: Can someone of you tell me a source where I can find an elaborated documentation for solr. http://wiki.apache.org/solr Erik

Re: Calculating peaks

2008-11-06 Thread Erik Hatcher
Would faceting on date (&facet.field=date&facet=on) satisfy your need? It'll give you back all the dates and frequencies of them within the matched results. Erik On Nov 6, 2008, at 4:59 AM, [EMAIL PROTECTED] wrote: How can I get ALL the matching documents back? How ca

Re: Solr documentation - configuration

2008-11-06 Thread Erik Hatcher
? You should start with the Solr tutorial <http://lucene.apache.org/solr/tutorial.html > and get a feel for how to work with the Solr example. Once you've successfully walked through the tutorial, if you still have questions we're here to help! Erik

Re: Solr documentation - configuration

2008-11-06 Thread Erik Hatcher
details, I load Solr's codebase into an IDE and navigate it that way personally. Erik

Re: Calculating peaks - solrj support for facet.date?

2008-11-07 Thread Erik Hatcher
g the same keys used with HTTP requests. Erik

Getting an AND query when using Solrj.

2008-11-07 Thread Erik Holstad
Hi! When making a query using the web interface the we get the expected OR function. But when using the java client it look like it is treating the query as an AND query. Is there way to see what operator is used for the query using Solrj? Regards Erik

Re: Getting an AND query when using Solrj.

2008-11-07 Thread Erik Holstad
Hi! Sorry that I was unclear, when I wrote that it works in the web interface I also meant to say that it is set in the schema.xml file and therefore working there. Sorry about that Regards Erik On Fri, Nov 7, 2008 at 11:33 AM, Jorge Solari <[EMAIL PROTECTED]> wrote: > setting in s

Boosting newer inserted items in search?

2008-11-10 Thread Erik Holstad
? Regards Erik

Re: Boosting newer inserted items in search?

2008-11-10 Thread Erik Holstad
Thanks Yonik for the answer1 Will try to implement that, but I can't seem to find how to do that using Solrj, do I just add it to the Query field or how is it done? Regards Erik On Mon, Nov 10, 2008 at 2:59 PM, Yonik Seeley <[EMAIL PROTECTED]> wrote: > My gut tells me that

Re: Going insane with requestHandler definition.

2008-11-11 Thread Erik Hatcher
Note that the Java replication feature is Solr 1.4 and above. You'll need to try a nightly or trunk build to get to this feature for now. Erik On Nov 11, 2008, at 1:38 PM, banished phantom wrote: Hello everyone ! I'm new in the Solr list. I'va been using Solr 1.2

Re: Synonyms impacting the performance

2008-11-12 Thread Erik Hatcher
20 words as synonyms). Does this have such an adverse impact Apparently so :/ Are there other components in your request handler that may also be (re)executing a query? Does the debugQuery=true component timings point to any other bottlenecks? Erik

Re: Synonyms impacting the performance

2008-11-12 Thread Erik Hatcher
imings of all the components - narrowing it down to the component would be the first step. My hunch is that you've got an enormous dismax query going on, and perhaps it is best to do index-time synonyms instead of query-time. Erik

Re: Boost Query effect with Standard Request Handler

2008-11-12 Thread Erik Hatcher
bq only works with dismax (&defType=dismax). To get the same effect with the lucene/solr query parser, append a clause to the original query (OR'ing it in). Erik On Nov 11, 2008, at 11:52 PM, Otis Gospodnetic wrote: Hi, It's hard to tell what you are replyin

Re: full-import with solrj (solr Java client)

2008-11-13 Thread Erik Hatcher
ng with the other parameters. Erik

Re: STATS functions ....

2008-11-13 Thread Erik Hatcher
be pulled from that issue and applied to 1.3 release, even JAR'ing it up separately, and tossing it in as a "plugin". We probably should be creating all these sorts of goodies and independent modules of code that aren't "core", but that gets fuzzy to say wh

XsltResponseWriter date handling

2008-11-13 Thread Erik Hatcher
-10-30T03:28:10.000Z" format and output it as a GMT formatted date like "Oct 30 2008 03:28:10 GMT-0600". Anyone got the incantation handy to make such a conversion in XSLT? Erik

Re: Solrj queries

2008-11-14 Thread Erik Hatcher
AND must be entirely capitalized to set clauses on both sides as _required_. Erik On Nov 14, 2008, at 12:44 AM, Raghunandan Rao wrote: Yes. But is that how we do in Solrj by setting SolrQuery("text:Right And title:go"). Thanks a lot. -Original Message- From: Rya

Re: solr1.3 dismax qf/bf boolean

2008-11-14 Thread Erik Hatcher
d append all of those together into a single qf with a space separator (URL encoded): &qf=title^30+title_en^20+description Same with bf, it is single-valued so you have to combine everything into a single parameter. Erik

Re: Newbe! Trying to run solr-1.3.0 under tomcat. Please help

2008-11-14 Thread Erik Hatcher
Fergus, I just downloaded Tomcat 5.5.27, put a solr.xml file in conf/Catalina/ localhost with the following: debug="0" crossContext="true" > And Solr started up just fine and it's admin, etc worked as expected. Oh, and on Mac OS X (of course!), versi

Re: Newbe! Trying to run solr-1.3.0 under tomcat. Please help

2008-11-14 Thread Erik Hatcher
To be fair, my first message was about Solr trunk + Tomcat 5.5.27, but I just tried it by pointing to a Solr 1.3.0 official release and it worked fine as well. Erik On Nov 14, 2008, at 12:30 PM, Erik Hatcher wrote: Fergus, I just downloaded Tomcat 5.5.27, put a solr.xml file in

Re: delete oddity...

2008-11-14 Thread Erik Hatcher
On Nov 14, 2008, at 4:11 PM, Dan A. Dickey wrote: Note to whomever writes documentation: We all do :) Feel free to create a wiki account and edit the page if you like. Much appreciated in fact! You're right ... that's a confusing oddity about the command. Erik I

Re: XsltResponseWriter date handling

2008-11-14 Thread Erik Hatcher
was all it took, leaving the Solr date output as-is. Substring extraction would have done the trick just fine though. I'll be contributing these bits back to contrib/velocity or as part of SolrJS when I get things running nicely. Erik On Nov 14, 2008, at 4:50 PM, Chris Hos

Re: Newbe! Trying to run solr-1.3.0 under tomcat. Solved!

2008-11-15 Thread Erik Hatcher
n the Solr install directory. I've never put a Lucene JAR, or any other JAR for that matter, into that directory. I don't know what differs in Tomcat and Jetty startups, but tracking down classloader issues can be a road to madness. Erik

Re: Build Solr to run SolrJS

2008-11-16 Thread Erik Hatcher
we'll get that fixed up. Maybe it all works using the the codebase here? <http://wiki.apache.org/solr/SolrJS > Matthias and Ryan - let's get SolrJS integrated into contrib/ velocity. Any objections/reservations? Erik On Nov 16, 2008, at 10:59 AM, JCodina wrote:

Solr security

2008-11-16 Thread Erik Hatcher
t out this is a Solr deployment configuration suitable for direct browser access, but we're not safely there yet are we? Is this an absurd goal? Must we always have a moving piece between browser and data/search servers? Thanks, Erik

Re: Solr security

2008-11-16 Thread Erik Hatcher
e lot of public apps now. In other words, another tier in front of Solr doesn't add (much) to DoS protection to an underlying Solr, no? Erik

Re: Solr security

2008-11-16 Thread Erik Hatcher
What about SolrJS? Isn't it designed to hit a Solr directly? (Sure, as long as the response looked like Solr response, it could have come through some magic 'security' tier). Erik On Nov 16, 2008, at 5:54 PM, Ryan McKinley wrote: I'm not totally sure what you

Re: Build Solr to run SolrJS

2008-11-17 Thread Erik Hatcher
thias and I will have to resolve that. Erik

Re: Build Solr to run SolrJS

2008-11-17 Thread Erik Hatcher
cript" and create a "dependency" to contrib/velocity for ServerSideWidgets? Sure, contrib/javascript sounds perfect. If that's ok, I'll have a look at the directory structure and the current ant build.xml to make them fit into the common solr structure and build. Awesome, thanks! Erik

Re: Solr security

2008-11-17 Thread Erik Hatcher
et me into design meetings any more ;( Apparently they shouldn't let me into them either ;) Erik

Re: Solr security

2008-11-17 Thread Erik Hatcher
ade to work? (I plead ignorance on the guts of the Java- based replication feature) - requires password protected handlers? Shouldn't we bake some of this into the default example configuration instead of update handlers being wide open by default? Erik

Re: Solr security

2008-11-17 Thread Erik Hatcher
mitingRowsSearchComponent could easily do this as a plugin though. Erik

Re: Solr security

2008-11-17 Thread Erik Hatcher
On Nov 16, 2008, at 6:55 PM, Walter Underwood wrote: Limiting the maximum number of rows doesn't work, because they can request rows 2-20100. --wunder But you could limit how many rows could be returned in a single request... that'd close off one DoS mechanism. Erik

Re: Solr security

2008-11-17 Thread Erik Hatcher
On Nov 17, 2008, at 9:07 AM, Yonik Seeley wrote: On Mon, Nov 17, 2008 at 8:54 AM, Erik Hatcher <[EMAIL PROTECTED]> wrote: Sounds like the perfect case for a query parser plugin... or use dismax as Ryan mentioned. Shouldn't Solr be hardened for these cases anyway? Or at least

Re: Solr security

2008-11-17 Thread Erik Hatcher
front? Authentication? Row limiting? Erik

Re: Build Solr to run SolrJS

2008-11-17 Thread Erik Hatcher
de contrib/javascript? I need to understand it a bit more, but no subclass is necessary... we'll patch it into contrib/velocity's VrW like you had it before. Erik

Re: Build Solr to run SolrJS

2008-11-17 Thread Erik Hatcher
embedded Solr. This way VrW can be separated from core Solr to another "tier" and template on remote Solr responses. Thoughts on how this feature might play out in that scenario? Erik On Nov 17, 2008, at 1:09 PM, Matthias Epheser wrote: Erik Hatcher schrieb: On Nov 1

Re: Build Solr to run SolrJS

2008-11-17 Thread Erik Hatcher
want to get it using SolrJ's API for request/response rather than the more internal stuff we're using now. Erik

Re: Software Announcement: LuSql: Database to Lucene indexing

2008-11-17 Thread Erik Hatcher
Yeah, it'd work, though not only does the version of Lucene need to match, but the field indexing/storage attributes need to jive as well - and that is the trickier part of the equation. But yeah, LuSQL looks slick! Erik On Nov 17, 2008, at 2:17 PM, Matthew Runo wrote:

Re: Solr security

2008-11-17 Thread Erik Hatcher
trouble is, you can also GET /solr/update, even all on the URL, no request body... <http://localhost:8983/solr/update?stream.body=%3Cadd%3E%3Cdoc%3E%3Cfield%20name=%22id%22%3ESTREAMED%3C/field%3E%3C/doc%3E%3C/add%3E&commit=true > Solr is a bad RESTafarian. Getting warmer!

Re: Software Announcement: LuSql: Database to Lucene indexing

2008-11-18 Thread Erik Hatcher
Glen, The thing is, Solr has a database integration built-in with the new DataImportHandler. So I'm not sure how much interest Solr users would have in LuSql by itself. Maybe there are LuSql features that DIH could borrow from? Or vice versa? Erik On Nov 17, 2008, at

Re: solr-ruby gem

2008-11-18 Thread Erik Hatcher
ter_destroy hooks. See slide 13 of <http://code4lib.org/files/solr-ruby.pdf > Erik

Re: Processing of prx file for phrase queries: Whole position list for term read?

2008-11-18 Thread Erik Hatcher
The original term is also indexed, but during querying in phrases, the common terms are again concatenated, thus making querying a lot faster. I may not have explained it entirely accurately, but that's the gist. Have a look at Nutch's Analyzer for more details. Erik

Re: Unique id

2008-11-19 Thread Erik Hatcher
you plan on updating the rows in that table and reindexing them? Seems like some kind of unique key would make sense for updating documents. But yeah, a more detailed description of your table structure and searching needs would be helpful. Erik On Nov 19, 2008, at 5:18 AM, A

Logging in Solr.

2008-11-19 Thread Erik Holstad
I kind if remember hearing that Solr was using SLF4J for the logging, but I haven't been able to find any information about it. And in that case where do you set it to redirect to you log4j server for example? Regards Erik

Re: Solr schema Lucene's StandardAnalyser equivalent?

2008-11-19 Thread Erik Hatcher
Note that you can use a standard Lucene Analyzer subclass too. The example schema shows how with this commented out: Erik On Nov 19, 2008, at 6:24 PM, Glen Newton wrote: Thanks. I've decided to use: positionIncrementGap

Tomcat undeploy/shutdown exception

2008-11-19 Thread Erik Hatcher
ven't actually duplicated the issue myself though. Thanks, Erik Oct 29, 2008 10:14:31 AM org.apache.catalina.startup.HostConfig undeployApps WARNING: Error while removing context [/search] java.lang.NullPointerException at org .apache .solr.servlet.SolrDispatchFilt

Re: Unique id

2008-11-20 Thread Erik Hatcher
I'd suggest aggregating those three columns into a string that can serve as the Solr uniqueKey field value. Erik On Nov 20, 2008, at 1:10 AM, Raghunandan Rao wrote: Basically, I am working on two views. First one has an ID column. The second view has no unique ID column. What

Re: Tomcat undeploy/shutdown exception

2008-11-20 Thread Erik Hatcher
1.3.0 final release. Erik On Nov 20, 2008, at 2:03 AM, Shalin Shekhar Mangar wrote: Eric, which Solr version is that stack trace from? On Thu, Nov 20, 2008 at 7:57 AM, Erik Hatcher <[EMAIL PROTECTED] >wrote: In analyzing a clients Solr logs, from Tomcat, I came acro

Re: Newbie: For stopword query - All objects being returned

2008-11-20 Thread Erik Hatcher
results. Add &debugQuery=true to your query string, look at the debug section of the output and the explanations for why documents are matching. That'll reveal the secret. Erik

Re: Total newbie question: "unknown field"

2008-11-20 Thread Erik Hatcher
light, VuFind, fac-back-opac are the big ones. There's also a SolrMarc project out there with a very customizable MARC indexer. Just FYI. Erik

Re: Logging in Solr.

2008-11-20 Thread Erik Holstad
it's even possible to do both? Regards Erik

Re: Logging in Solr.

2008-11-20 Thread Erik Holstad
Ok, thanks Ryan! On Thu, Nov 20, 2008 at 9:03 AM, Ryan McKinley <[EMAIL PROTECTED]> wrote: > > On Nov 20, 2008, at 11:57 AM, Erik Holstad wrote: > > Thanks for the help Ryan! >> Using the start.jar with 1.3 and added the slf4j jar to the classpath. >> When >

Re: Build Solr to run SolrJS

2008-11-22 Thread Erik Hatcher
tter/cleaner as we go, so we appreciate your early adopter help ironing out this stuff. Erik On Nov 20, 2008, at 5:44 PM, JCodina wrote: I could not manage, yet to use it. :confused: My doubts are: - must I download solr from svn - trunk? - then, must I apply the patches of solrjs a

Re: Build Solr to run SolrJS

2008-11-22 Thread Erik Hatcher
On Nov 22, 2008, at 4:26 AM, Erik Hatcher wrote: I just got the client-side demo on trunk to work (with a few tweaks to make it work with the example core Solr data). On trunk follow these steps: * root directory: ant example One extra step needed, for the pedantic... * launch Solr

Re: Build Solr to run SolrJS

2008-11-22 Thread Erik Hatcher
rtainly, though, it's not possible to show off all widgets this way (like country selection), but the more unified we make SolrJS and VrW, the easier it will be for folks to try and eventually adopt these cool technologies. Erik On Nov 22, 2008, at 5:50 AM, Matthias Epheser wrote:

Re: QueryElevationComponent

2008-11-23 Thread Erik Hatcher
remove "myid:" from that value and you should be in good shape. Granted it is confusing. But what's the alternative? Maybe calling every attribute that needs to refer to a uniqueKey literally "uniqueKey"? I don't think we want to have attributes changing their name based on the uniqueKey field name. Erik

Re: DateField Problem

2008-11-24 Thread Erik Hatcher
; from value '2008-11-24T12:58:47Z' Note that it says "type=sdouble". You need to have that mapped to a date field, not sdouble. I guess you're getting caught by the *_d mapping from the example schema? Try time_on_xml_dt instead, if you've got that mapped. Erik

Re: AND query on multivalue text

2008-11-24 Thread Erik Hatcher
query like this, but it is possible with a sloppy phrase query where the position increment gap (see example schema.xml) is greater than the slop factor. Erik

Re: AND query on multivalue text

2008-11-24 Thread Erik Hatcher
values is it possible? It's not possible with a purely boolean query like this, but it is possible with a sloppy phrase query where the position increment gap (see example schema.xml) is greater than the slop factor. Erik I think what is needed here is the concept of SAME

Re: Facet Query (fq) and Query (q)

2008-11-24 Thread Erik Hatcher
t warm those filterCaches up and your performance should be quite acceptable. Report back with more details if not. Erik

Re: [VOTE] Community Logo Preferences

2008-11-26 Thread Erik Hatcher
https://issues.apache.org/jira/secure/attachment/12394070/sslogo-solr-finder2.0.png https://issues.apache.org/jira/secure/attachment/12394475/solr2_maho-vote.png https://issues.apache.org/jira/secure/attachment/12393995/sslogo-solr-70s.png

Re: omiting no price documents when sorting on price

2008-11-27 Thread Erik Hatcher
You can omit documents. I recommend doing it with a filter query. Append the following to your request to Solr: &fq=-price:0 That does the trick? You'll have to have client logic to only add that parameter when sorting by price, if that's how you want it to work.

Re: Mock solr server

2008-11-28 Thread Erik Hatcher
e.org/viewvc/lucene/solr/trunk/client/ruby/solr-ruby/test/unit/standard_response_test.rb?view=markup > Erik On Nov 28, 2008, at 3:41 AM, Robert Young wrote: I'm not using Java unfortunately. Is there anything that allows me to interact with it much like a normal mock object, se

Re: Using Solr with Hadoop ....

2008-11-29 Thread Erik Hatcher
On Nov 28, 2008, at 8:38 PM, Yonik Seeley wrote: Or, it would be relatively trivial to write a Lucene program to merge the indexes. FYI, such a tool exists in Lucene's API already: <http://lucene.apache.org/java/2_4_0/api/org/apache/lucene/misc/IndexMergeTool.html > Erik

Re: boosting certain terms within one field?

2008-11-30 Thread Erik Hatcher
Adding constraints obtained from facets is best done using fq anyway, so it's worth making that switch in your client code anyway. Erik On Nov 30, 2008, at 10:43 AM, Peter Wolanin wrote: Hi Grant, Thanks for your feedback. The major short-term downside to switching to dismax

Re: Response status

2008-12-04 Thread Erik Hatcher
It means the request was successful. If the status is non-zero (err, 1) then there was an error of some sort. Erik On Dec 4, 2008, at 9:32 AM, Robert Young wrote: In the standard response format, what does the status mean? It always seems to be 0. Thanks Rob

Re: getting xml out of a SolrDocument ?

2008-12-05 Thread Erik Hatcher
g back in whatever format you want. Erik On Dec 5, 2008, at 3:02 PM, Dan Robin wrote: I am using solrj to query solr and the QueryResponse.getResults() returns a SolrDocumentList. There is a SolrDocument in the list with the results I want. The problem is that I want to view these

Re: dismax difference between q=text:+toto AND q=toto

2008-12-10 Thread Erik Hatcher
dismax doesn't support field selection in it's query syntax, only via the qf parameter. add &debugQuery=true to see how the queries are being parsed, that'll reveal what is going on. Erik On Dec 10, 2008, at 5:07 AM, sunnyfr wrote: Hi, I would like to

Re: Look for three words, just two are weighted ?

2008-12-10 Thread Erik Hatcher
ry=true Use bq (boosting query) for boosting by status bq=status_official:true^2 and remove it from the qf parameter. That should do the trick. Erik

Re: Stopping / Starting IndexReaders in Solr 1.3+

2008-12-12 Thread Erik Hatcher
make requests or not it'd do the trick. Erik On Dec 13, 2008, at 12:54 AM, Kay Kay wrote: For a particular application of ours - we need to suspend the Solr server from doing any query operation ( IndexReader-s) for sometime, and then after sometime in the near future (

Re: unique so that if that combination exists in index it will return an error

2008-12-13 Thread Erik Hatcher
, you'll have to merge those three fields into a single field as Solr only uses one field for uniqueKey. Erik

DIH - duplicate xpaths on HttpDataSource

2008-12-13 Thread Erik Hatcher
Solr trunk. Thanks, Erik

Re: DIH - duplicate xpaths on HttpDataSource

2008-12-14 Thread Erik Hatcher
ansformer on the entity rather than the field it is used on? I don't yet understand why the transformer is entity-based rather than per-field. Thanks for your help, Noble. Erik On Sun, Dec 14, 2008 at 7:18 AM, Erik Hatcher wrote: I'm trying to index a blog with

Re: DIH - duplicate xpaths on HttpDataSource

2008-12-14 Thread Erik Hatcher
Thanks again, Noble. All is working fine for me now. Erik On Dec 14, 2008, at 10:33 AM, Noble Paul നോബിള്‍ नोब्ळ् wrote: Also, I want to add in date transformation like in the example above commented out. How would I use both the TemplateTransformer and the DateFormatTransformer

Re: ExtractingRequestHandler and XmlUpdateHandler

2008-12-15 Thread Erik Hatcher
with the fields specified in the XML. Currently this is not possible, as far as I know. Maybe this sort of thing could be coded to part of an update processor chain? Somehow DIH and the Tika need to tie together eventually too, eh? Erik

Re: ExtractingRequestHandler and XmlUpdateHandler

2008-12-15 Thread Erik Hatcher
g the extracting request to a file path visible by Solr. Erik

Re: TextField size limit

2008-12-15 Thread Erik Hatcher
Check your solrconfig.xml: 1 That's probably the truncating factor. That's the maximum number of terms, not bytes or characters. Erik On Dec 15, 2008, at 5:00 PM, Antonio Zippo wrote: Hi all, i have a TextField containing over 400k of text when i try t

Re: Custom Sorting

2008-12-16 Thread Erik Hatcher
, and configure it into solrconfig.xml and should be good to go. Subclassing existing classes, this should only be a handful of lines of code to do. Erik On Dec 16, 2008, at 3:54 AM, psyron wrote: I have the same problem, also need to plugin my "customComparator", but

Re: Some solrconfig.xml attributes being ignored

2008-12-16 Thread Erik Hatcher
Mark, Looked at the code to discern this... A fragmenter isn't responsible for the number of snippets - the higher level SolrHighlighter is the component that uses that parameter. So yes, it must be specified at the request handler level, not the fragmenter configuration.

Re: setting a log file per core with slf4

2008-12-17 Thread Erik Hatcher
Can't we log with the core as part of the context of the logger, rather than just the classname? This would give you core logging granularity just by config, rather than scraping. Yes? Erik On Dec 17, 2008, at 9:47 AM, Ryan McKinley wrote: As is, the log classes are stati

Re: setting a log file per core with slf4

2008-12-17 Thread Erik Hatcher
FQCNs that's a decent convention for most cases with a package structure that is well organized and filterable. In this case having the core name in there as a prefix makes a lot of sense to me. We could provide a LoggerUtils.getLogger(core, clazz) or something like to keep it DRY and consistent. Erik

<    5   6   7   8   9   10   11   12   13   14   >