Re: RequestHandler that passes along the query

2008-10-03 Thread Ryan McKinley
take a look at the SearchComponent interface: http://wiki.apache.org/solr/SearchComponent with that, you can inject extra fields into each document before passing them on ryan On Oct 3, 2008, at 4:13 PM, Brian Whitman wrote: Not sure if this is possible or easy: I want to make a

Re: Using filter to search in SOLR 1.3 with solrj

2008-10-02 Thread Ryan McKinley
what about: SolrQuery query = ...; query.addFilterQuery( type:xxx ); On Oct 2, 2008, at 1:23 PM, Jeryl Cook wrote: i can execute what i want simply with using lucene directly Hits hits = searcher.search(customScoreQuery, myQuery.getFilter()); howerver, i can't find the right Class

Re: Using filter to search in SOLR 1.3 with solrj

2008-10-02 Thread Ryan McKinley
On Oct 2, 2008, at 2:24 PM, Jeryl Cook wrote: I don't have issues adding a filter query to a SolrQuery... i guess ill look at the source code, i just need to pass the a custom Filter object at runtime before i execute a search using the SolrServer.. currently this is all i can do the below

Re: SolrPluginRepository

2008-10-02 Thread Ryan McKinley
Thanks! If there is interest, we could start a non-apache project for plugins that don't make sense in core or contrib... Apache Wicket has a project called Wicket Stuff on sourceforge that is a repository for non-core components. This is where components linking to non-Apache

Re: SolrPluginRepository

2008-10-02 Thread Ryan McKinley
- Original Message From: Ryan McKinley [EMAIL PROTECTED] To: solr-user@lucene.apache.org Sent: Thursday, October 2, 2008 2:46:20 PM Subject: Re: SolrPluginRepository Thanks! If there is interest, we could start a non-apache project for plugins that don't make sense in core or contrib

Re: SolrPluginRepository

2008-10-02 Thread Ryan McKinley
On Oct 2, 2008, at 11:03 PM, Grant Ingersoll wrote: On Oct 2, 2008, at 3:38 PM, Ryan McKinley wrote: Yes, contrib should be for anything general and fits within apache guidelines. SOLR-380 may belong as a contrib (or core) -- i have not looked at it. Just throwing it out

Re: Any idea ??? I'm lost .... Thanks

2008-10-01 Thread Ryan McKinley
hymm -- i've replied to this three times now... but it does not appear the list revieved it... http://www.nabble.com/Any-idea-I%27m-lost--Thanks-to19762598.html (now i'm trying from a different client) Have you tried solr.xml rather then multicore.xml? before 1.3 was released, the file

Re: SolrUpdateServlet Warning

2008-09-23 Thread Ryan McKinley
On Sep 23, 2008, at 12:35 PM, Gregg wrote: I've got a small configuration question. When posting docs via SolrJ, I get the following warning in the Solr logs: WARNING: The @Deprecated SolrUpdateServlet does not accept query parameters: wt=xmlversion=2.2 If you are using solrj, make sure

Re: Solr 1.3 does not recognize Solr home...

2008-09-22 Thread Ryan McKinley
I have temporarily solved the problem by hardcoding the folders in the dataDir element like so: dataDirC:\tomcatweb\merchant\data/dataDir (in the solrconfig.xml) Any ideas of what I am doing wrong? Is it solr home or or the data directory that is getting set wrong? I *think* the

Re: Pains upgrading from 1.2 to 1.3, any help appreciated

2008-09-19 Thread Ryan McKinley
Second, I've got some code running in the same JVM as Solr that does some stuff like getting the latest timestamp in the index to determine if we need to pull an update from our product info database, kicking off an optimize every night at 2:00AM, stuff like that. However I take it that

Re: Pains upgrading from 1.2 to 1.3, any help appreciated

2008-09-19 Thread Ryan McKinley
On Sep 19, 2008, at 3:22 PM, Mark Baird wrote: SearchComponent is the class I was missing. Looks like if I can provide an entirely new implementation of that it will be a lot cleaner than the hack I had been using in 1.2 over top of facets. thats why SearchComponets got added! It was

Re: Solr vs Autonomy

2008-09-18 Thread Ryan McKinley
On Sep 18, 2008, at 3:23 AM, Geoff Hopson wrote: As per other thread 1) security down to field level how complex of a security model do you need? Is each users field visibility totally distinct? are there a few basic groups? If you are willing to write (or hire someone to write) a

Re: Can Solr be used to search public websites(Newbie).

2008-09-17 Thread Ryan McKinley
Solr only manages the indexing/search side, it does not do any crawling like nutch. For crawling a small site, you may want to check out: http://aperture.sourceforge.net/ (mature, but RDF heavy) Or Droids: http://people.apache.org/~thorsten/droids/ Droids is new, and will change a lot soon,

Re: problem index accented character with release version of solr 1.3

2008-09-17 Thread Ryan McKinley
My guess is it has to do with switching the StAX implementation to geronimo API and the woodstox implementation https://issues.apache.org/jira/browse/SOLR-770 I'm not sure what the solution is though... On Sep 17, 2008, at 10:02 PM, Joshua Reedy wrote: I have been using a stable dev

Re: Some new SOLR features

2008-09-16 Thread Ryan McKinley
On Sep 16, 2008, at 10:12 AM, Jason Rutherglen wrote: Hello Ryan, SQL database such as H2 Mainly to offer joins and be able to perform hierarchical queries. Also any other types of queries a hybrid SQL search system would offer. This is something that is best built into SOLR rather than

Re: Some new SOLR features

2008-09-16 Thread Ryan McKinley
ryantxu wrote: ... Yes, I would like to see a way to specify all the fieldtypes / handlers in one location and then only specify what fields are available for each core. So yes -- I agree. In 2.0, I hope to flush out configs so they are not monstrous. ... What about using include so each

Re: Some new SOLR features

2008-09-15 Thread Ryan McKinley
Here are my gut reactions to this list... in general, most of this comes down to sounds great, if someone did the work I'm all for it! Also, no need to post to solr-user AND solr-dev, probably better to think of solr-user as a superset of solr-dev. 1. Machine learning based suggest

Re: SolrJ and JSON in Solr -1.3

2008-09-15 Thread Ryan McKinley
I also have trouble understanding why you would care how solrj talks to the server... the javabin option is the fastest available. If you need to give JSON to a client, can't you just put in a proxy? On Sep 15, 2008, at 12:46 AM, Erik Hatcher wrote: If the client wants JSON, then it seems

Re: SolrJ and JSON in Solr -1.3

2008-09-15 Thread Ryan McKinley
The solrj API does not care how data is passed around, the interface to use it is identical. If you create a CommonsHttpSolrServer and don't set the parser, it will by default use the javabin parser. SolrServer server = new CommonsHttpSolrServer(url); SolrQuery query = new SolrQuery();

Re: Conditional caching

2008-09-01 Thread Ryan McKinley
I get what you are trying to do yes, googlebot essentially fills up the cache with edge cases. There is nothing in solr to prevent using the cache for some queries and not others -- given the way parts of solr works, it is a bad idea to turn off caching completly (a Document my be

Re: .wsdl for example....

2008-08-18 Thread Ryan McKinley
check SolrSharp http://wiki.apache.org/solr/SolrSharp On Aug 18, 2008, at 9:23 PM, Norberto Meijome wrote: On Mon, 18 Aug 2008 19:08:24 -0300 Alexander Ramos Jardim [EMAIL PROTECTED] wrote: Do you wanna a full web service for SOLR example? How a .wsdl will help you? Why don't you use the

Re: spellcheck collation

2008-08-14 Thread Ryan McKinley
have you updated recently? isEnabled() was removed last night... On Aug 14, 2008, at 2:30 PM, Doug Steigerwald wrote: I'd try, but the build is failing from (guessing) Ryan's last commit: compile: [mkdir] Created dir: /Users/dsteiger/Desktop/java/solr/build/core [javac] Compiling 337

NOTICE - solrj MultiCore{Params/Request/Response} have been renamed CoreAdmin{Params/Request/Response}

2008-08-14 Thread Ryan McKinley
In the effort to clean up confusion around MultiCore usage, we have renamed the class that handle runtime core administration from MultiCoreX to CoreAdminX. Additionally, the path that the default MultiCoreRequest expects to hit is: /admin/cores rather then /admin/ multicore -- if you have

Re: SOLR 1.2 Multicore configuration

2008-08-13 Thread Ryan McKinley
Check: http://wiki.apache.org/solr/MultiCore If you can wait a few days, there will likely be a 1.3 release candidate out soon. On Aug 13, 2008, at 11:30 AM, McBride, John wrote: Hi, I am deploying an application across 3 geographies - and as a result will be running multiple solr

Re: multicore /solr/update

2008-08-13 Thread Ryan McKinley
check a recent version, this issue should have been fixed in: https://issues.apache.org/jira/browse/SOLR-545 On Aug 13, 2008, at 2:22 PM, Doug Steigerwald wrote: Yeah, that's the problem. Not having the core in the URL you're posting to shouldn't update any core, but it does. Doug On Aug

Re: multicore /solr/update

2008-08-13 Thread Ryan McKinley
)? On Aug 13, 2008, at 3:00 PM, Ryan McKinley wrote: check a recent version, this issue should have been fixed in: https://issues.apache.org/jira/browse/SOLR-545 On Aug 13, 2008, at 2:22 PM, Doug Steigerwald wrote: Yeah, that's the problem. Not having the core in the URL you're posting

Re: multicore /solr/update

2008-08-13 Thread Ryan McKinley
check now. Should be fixed in trunk On Aug 13, 2008, at 3:05 PM, Doug Steigerwald wrote: I checked out the trunk about 2 hours ago. Was the last commit on the 10th supposed to fix this (r684606)? On Aug 13, 2008, at 3:00 PM, Ryan McKinley wrote: check a recent version, this issue

Re: more multicore fun

2008-08-13 Thread Ryan McKinley
On Aug 13, 2008, at 3:29 PM, Andrew Nagy wrote: Thanks for clarifing that Ryan - I was a bit confused too... Before 1.3 is released, you will either be able to: 1. set the dataDir from your solr.xml config core name=core0 instanceDir=core0 dataDir=XXX / I have been perusing the

Word Gram?

2008-08-13 Thread Ryan McKinley
I'm looking for a way to get common word groups within documents. That is, what are the top two, three, ... n word groups within the index. I was messing with indexing adjacent words together (sorry about the earlier commit)... is this a reasonable approach? Any other ideas for pulling

Re: Word Gram?

2008-08-13 Thread Ryan McKinley
/analysis/shingle/ShingleFilter.html ). I have it set up to build 'shingles' of size 2, 3, 4, 5 which I index into separate fields. If there is a better way of doing this sort of thing I'd love to know :-) Brendan On Aug 13, 2008, at 3:59 PM, Ryan McKinley wrote: I'm looking for a way

Re: Multicore DataDir

2008-08-01 Thread Ryan McKinley
Check: https://issues.apache.org/jira/browse/SOLR-646 hopefully that will solve your problems... On Aug 1, 2008, at 4:35 PM, CameronL wrote: The dataDir parameter specified in the core... element in multicore.xml does not seem to point to the correct directory. I commented out the

Re: Best way to return ExternalFileField in the results

2008-07-28 Thread Ryan McKinley
In general though i wondering if steping back a bit and modifying your request handler to use a SolrDocumentList where you've already flattened the ExternalFileField into each SolrDocument would be an easier approach -- then you wouldnt' need to modify the ResponseWriter at all.

Re: Easiest way to get data dir from a plugin?

2008-07-25 Thread Ryan McKinley
core.getDataDir() what kind of plugin? If you don't have access to core, you can implement SolrCoreAware... On Jul 25, 2008, at 2:27 PM, Mark Miller wrote: How do I get the solr / data dir from a plugin without using anything thats deprecated? - Mark

Re: Highlight component throws Nullpointer when using q.alt=*:*

2008-07-24 Thread Ryan McKinley
bug that needs fixed! Can you file a jira ticket? On Jul 24, 2008, at 12:50 PM, kalyan chakravarti wrote: Forgot to mention, I am using dismax queryhandler. I just tested this with out of box latest nightly build and it throws the same error.

Re: SolrJ + Spellcheck

2008-07-21 Thread Ryan McKinley
Currently, there are not any helper functions to pick out spellcheck info. But you can always use: NamedListObject getResponse() to pick out the data contained in the response: Adding spellcheck functions to QueryResponse would be a welcome contribution! On Jul 21, 2008, at 12:51 PM,

Re: Vote on a new solr logo

2008-07-21 Thread Ryan McKinley
I can't figure how to use the poll either... here are a few others to check out: http://lapnap.net/solr/ perhaps a and f could live together, you use 'a' if you need a background other then white On Jul 21, 2008, at 2:14 PM, Mike Klaas wrote: On 20-Jul-08, at 6:19 PM, Mark Miller wrote:

Re: Vote on a new solr logo

2008-07-21 Thread Ryan McKinley
nor does http://selectricity.org/ On Jul 21, 2008, at 2:28 PM, Shalin Shekhar Mangar wrote: Too bad the polls created with Google docs don't support images in them (or atleast i couldn't figure out how to do it) On Mon, Jul 21, 2008 at 11:52 PM, Ryan McKinley [EMAIL PROTECTED] wrote: I

Re: IllegalArgumentException with Solrj DocumentObjectBinder

2008-07-19 Thread Ryan McKinley
committed in rev 678204 thanks nobel! On Jul 19, 2008, at 2:40 PM, Noble Paul നോബിള്‍ नोब्ळ् wrote: A patch is submitted in SOLR-536 On Sat, Jul 19, 2008 at 11:23 PM, Noble Paul നോബിള്‍ नोब्ळ् [EMAIL PROTECTED] wrote: meanwhile , you can manage by making the field ListString

Re: Issue with wt=javabin and multicore

2008-07-18 Thread Ryan McKinley
I found that in org.apache.solr.servlet.SolrServlet.java, always PrintWriter object is sent as input parameter. SolrServlet is deprecated. If you are going to use new features like MultiCore, make sure you have the XmlUpdateRequestHandler registered to /update requestHandler

Re: spellchecking multiple fields?

2008-07-16 Thread Ryan McKinley
for the field or choice. This is a definite workaround, but I think it might work. Hmm, except we only have one QueryConverter -Grant On Jul 15, 2008, at 8:56 PM, Ryan McKinley wrote: I have a use case where I want to spellcheck the input query across multiple fields: Did you mean: location

Re: Multiple query fields in DisMax handler

2008-07-16 Thread Ryan McKinley
(assuming you are using 1.3-dev), you could use the dismax query parser syntax for the fq param. I think it is something like: fq=!dismaxyour query I can't find the syntax now (Yonik?) but I don't know how you could pull out the qf,pf,etc fields for the fq portion vs the q portion. On

Re: Duplicate content

2008-07-15 Thread Ryan McKinley
On Jul 15, 2008, at 2:45 AM, Sunil wrote: Hi All, I want to change the duplicate content behavior in solr. What I want to do is: 1) I don't want duplicate content. 2) I don't want to overwrite old content with new one. Means, if I add duplicate content in solr and the content already

Re: Duplicate content

2008-07-15 Thread Ryan McKinley
On Jul 15, 2008, at 10:31 AM, Fuad Efendi wrote: Thanks Ryan, Is uniqueKey really unique if we allow duplicates? I had similar problem... if you allowDups, then uniqueKey may not be unique... however, it is still used as the key for many items. Quoting Ryan McKinley [EMAIL

spellchecking multiple fields?

2008-07-15 Thread Ryan McKinley
I have a use case where I want to spellcheck the input query across multiple fields: Did you mean: location = washington vs Did you mean: person = washington The current parameter / response structure for the spellcheck component does not support this kind of thing. Any thoughts on

Re: Automated Index Creation

2008-07-08 Thread Ryan McKinley
nothing to automatically create a new index, but check the multicore stuff to see how you could implement this: http://wiki.apache.org/solr/MultiCore On Jul 8, 2008, at 10:25 AM, Willie Wong wrote: Hi, Sorry if this question sounds daft but I was wondering if there was anything built

Re: Pre-processor for stored fields

2008-07-08 Thread Ryan McKinley
If all you are doing is stripping text from HTML, the best option is probably to just do that on the client *before* you send it to solr. If you need to do something more complex -- or that needs to rely on other solr configurations you can consider using an UpdateRequestProcessor. Likely

Re: Automated Index Creation

2008-07-08 Thread Ryan McKinley
re-reading your post... Shalin is correct, just use the snapshooter script to create a point- in-time snapshot of the index. The multicore stuff will not help with this. ryan On Jul 8, 2008, at 11:09 AM, Shalin Shekhar Mangar wrote: Hi Willie, If you want to have backups (point-in-time

Re: Automated Index Creation

2008-07-08 Thread Ryan McKinley
to users one final question though, after snapshot has been created is there a way to totally clear out the contents in the master index - or have solr recreate the data directory? Thanks, Willie Ryan McKinley [EMAIL PROTECTED] 08/07/2008 11:17 AM Please respond to solr-user

Re: implementing a random result request handler - solr 1.2

2008-07-07 Thread Ryan McKinley
The random sort field in solr 1.3 relies on the field name and dynamic fields for ordering. Check the example solrconfig.xml in 1.3 dynamicField name=random* type=random / to get random results, try various field names: sort=rand_123 asc sort=rand_xyz asc sort=rand_{generate your

Re: First version of solr javascript client to review

2008-07-03 Thread Ryan McKinley
Any thoughts / ideas on how to make formatting and laying out custom results less obtuse? $sj('div/').html(item.id).appendTo(this.target); seems ok for simple things -- like a list -- but not very designer friendly. ryan On Jul 1, 2008, at 3:00 AM, Matthias Epheser wrote: Hi

Re: Stupid update question

2008-07-03 Thread Ryan McKinley
Not sure exactly what you are asking for -- I'll answer a few versions: Do you have an existing index and want to change the field A to duck for every document? If so, there is no way to do that off the shelf -- check SOLR-139 for an option (but the current patch will not work) Do you

negative boosting / analysis?

2008-07-01 Thread Ryan McKinley
Hi- I'm working on a case where we have review text that may include words that describe what the item is *not*. Given the text the kitten is not clean, searching for clean should not include (at least at the top) the kitten. The approach I am considering is to copy the text to a

Re: several tokenizers in one field type

2008-06-24 Thread Ryan McKinley
On Jun 24, 2008, at 12:07 AM, Norberto Meijome wrote: hi all, ( I'm using 1.3 nightly build from 15th June 08.) Is there some documentation about how analysers + tokenizers are applied in fields ? In particular, my question : best docs are here:

Re: How to debug ?

2008-06-24 Thread Ryan McKinley
also, check the LukeRequestHandler if there is a document you think *should* match, you can see what tokens it has actually indexed... On Jun 24, 2008, at 7:12 PM, Norberto Meijome wrote: hi, I'm trying to understand why a search on a field tokenized with the nGram tokenizer, with

Re: Problems in solrJ trunk

2008-06-07 Thread Ryan McKinley
solrj was not released in 1.2, so the change is not incompatible... The rationalle for abstract class vs interface is more to do with usage and future maintenance. If SolrServer is an interface and solr 1.4 adds methods, there is no way to make it backwards compatible -- as an abstract

Re: Solrj + Multicore

2008-06-05 Thread Ryan McKinley
:20 PM, Alexander Ramos Jardim wrote: It is mapped correctly. 2008/6/4 Erik Hatcher [EMAIL PROTECTED]: On Jun 4, 2008, at 10:07 AM, Alexander Ramos Jardim wrote: 2008/6/3 Ryan McKinley [EMAIL PROTECTED]: This way I don't connect: new CommonsHttpSolrServer(http://localhost:8983/solr

Re: Solrj + Multicore

2008-06-05 Thread Ryan McKinley
access solr via web browser when using multicore. 2008/6/5 Ryan McKinley [EMAIL PROTECTED]: without solrj, are you able to hit the url: http://localhost:8983/solr/idxItem/update If not, something is amiss in your configs. Assuming you have multi-core configured correctly, you should be able

Re: Solrj + Multicore

2008-06-04 Thread Ryan McKinley
Are you using a recent version of multi-core? Do you have the /update RequestHandler mapped in solrconfig.xml? Since multicore support is new, it does not support the @deprecated / update servlet ryan On Jun 4, 2008, at 10:07 AM, Alexander Ramos Jardim wrote: 2008/6/3 Ryan McKinley

Re: Solrj + Multicore

2008-06-03 Thread Ryan McKinley
This way I don't connect: new CommonsHttpSolrServer(http://localhost:8983/solr/idxItem;) this is how you need to connect... otherwise nothing will work. Perhaps we should throw an exception if you initialize a URL that contains ? ryan

Re: Field Grouping

2008-05-13 Thread Ryan McKinley
You may want to check field collapsing https://issues.apache.org/jira/browse/SOLR-236 There is a patch that works against 1.2, but the one for trunk needs some work before it can work... ryan On May 13, 2008, at 2:46 PM, oleg_gnatovskiy wrote: There is an XSLT example here:

Re: Missing content Stream

2008-05-09 Thread Ryan McKinley
make sure you are following all the directions on: http://wiki.apache.org/solr/UpdateCSV in particular check Methods of uploading CSV records On May 9, 2008, at 9:58 AM, Ricky wrote: Hello, Am a newbie to SOLR. I am trying to learn it now. i have downloaded apache-solr 1.2.0.zip file. I have

Re: Solr Multicore, are there any way to retrieve all the cores registered?

2008-05-09 Thread Ryan McKinley
check the status action also, check the index.jsp page (i don't have the code in front of me) On May 9, 2008, at 10:16 AM, Walter Ferrara wrote: In solr, last trunk version in svn, is it possible to access the core registry, or what used to be the static MultiCore object? My goal is to

Re: exceeded limit of maxWarmingSearchers

2008-05-09 Thread Ryan McKinley
On May 9, 2008, at 7:33 PM, Sasha Voynow wrote: Is it generally better to handle batching your commits programmatically on the client side rather than relying on auto-commit? the time based auto-commit is useful if you are indexing from multiple clients to a single server. Rather then

Re: Extending XmlRequestHandler

2008-05-08 Thread Ryan McKinley
The XML format is fixed, and there is not a good way to change it. If you can transform your custom docs via XSLT, down the line this may be possible (it currently is not) If you really need to index your custom XML format, write your own RequestHandler modeled on XmlRequestHandler,

[poll] Change logging to SLF4J?

2008-05-06 Thread Ryan McKinley
Hello- There has been a long running thread on solr-dev proposing switching the logging system to use something other then JDK logging. http://www.nabble.com/Solr-Logging-td16836646.html http://www.nabble.com/logging-through-log4j-td13747253.html We are considering using http://www.slf4j.org/.

Re: Solr (text) RDMBS (dynamic data) - best practies?

2008-05-06 Thread Ryan McKinley
* write response using custom response writer? (this may not be right, I'd have to check) that grabs the extra data from cache and includes it with each hit Not a custom response writer... use a custom QueryComponent to augment the document. Localsolr has a good example of

Re: MultiCore on Wiki

2008-04-30 Thread Ryan McKinley
On Apr 30, 2008, at 11:52 PM, Lance Norskog wrote: The MultiCore writeup on the Wiki (http://wiki.apache.org/solr/MultiCore ) says: ... Configuration-core-dataDir The data directory for a given core. (optional) How can a core not have its own dataDir? What happens if this is not

Re: MultiCore on Wiki

2008-04-30 Thread Ryan McKinley
think I meant: this writeup implies to me that two cores could share the same default index. I don't see how this would work, or be useful. Thanks, Lance Norskog -Original Message- From: Ryan McKinley [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 30, 2008 9:30 PM To: solr-user

Re: Solr replication by solr (for windows)

2008-04-29 Thread Ryan McKinley
In the future, don't post the same idea in solr-user and solr-dev... most people on solr-dev read solr-user and the cross posting splits where discussion ends up. On Apr 29, 2008, at 5:01 AM, Noble Paul നോബിള്‍ नोब्ळ् wrote: hi , The current replication strategy in solr involves shell

Re: Solr replication by solr (for windows)

2008-04-29 Thread Ryan McKinley
We are not doing away with the current replication strategy. It's just that we're proposing an alternative. I'm all for adding a replication strategy that works on windows and is controlled/managed from the webapp. The existing hardlink rsync methods may have better performance...

Re: Master / slave setup with multicore

2008-04-29 Thread Ryan McKinley
On Apr 29, 2008, at 3:09 PM, James Brady wrote: Hi all, I'm aiming to use the new multicore features in development versions of Solr. My ideal setup would be to have master / slave servers on the same machine, snapshotting across from the 'write' to the 'read' server at intervals. This

Re: unique values from a field in a result

2008-04-28 Thread Ryan McKinley
On Apr 27, 2008, at 7:50 AM, Thijs Vonk wrote: What is the best way to get the unique terms from a field in a result? I've been using SimpleFacet to do this. However, I don't need the counts, so it seems overkill to have to iterate over all the result documents per field to get the unique

Re: Standard vs. DisMaxQueryHandler

2008-04-28 Thread Ryan McKinley
In 1.3 (trunk, dev build), the query parsing has been extracted into a component. It shoudl be easy to replace just query parsing component and keep the rest of the chain the same. I'm not quite following why it is a problem to have two urls for dismax vs standard query. Dismax expects

Re: Solr with Auto-suggest

2008-04-25 Thread Ryan McKinley
- RB On 4/24/08, Ryan McKinley [EMAIL PROTECTED] wrote: On Apr 24, 2008, at 12:25 PM, Rantjil Bould wrote: Hi Group, I was asked in my project to implement google suggest kind of functionality for searching help system. I have seen one thread http://www.mail-archive.com/solr-user

Re: Got parseException when search keyword AND on a text field

2008-04-24 Thread Ryan McKinley
check the dismax handler -- it expects words to search for, not a query syntax On Apr 24, 2008, at 9:53 AM, Geoffrey Young wrote: Otis Gospodnetic wrote: Not in one place and documented. The place to look are query parsers, but things like AND OR NOT TO are the ones to look out for.

Re: Solr with Auto-suggest

2008-04-24 Thread Ryan McKinley
On Apr 24, 2008, at 12:25 PM, Rantjil Bould wrote: Hi Group, I was asked in my project to implement google suggest kind of functionality for searching help system. I have seen one thread http://www.mail-archive.com/solr-user@lucene.apache.org/ msg06739.html which deals with the

Re: better stemming engine than Porter?

2008-04-21 Thread Ryan McKinley
Hey- to create an issue, make an account on jira and post it... https://issues.apache.org/jira/browse/SOLR Give that a try and holler if you have trouble. ryan On Apr 21, 2008, at 12:31 PM, Wagner,Harry wrote: Hi HH, Here's a note I sent Solr-dev a while back: --- I've implemented a Solr

Re: Default core in multi-core

2008-04-21 Thread Ryan McKinley
hymmm -- default should be removed and should not do anything. The intended behavior is that /solr/select?q=*:* should be 404, you would need to call /solr/core0/select or /solr/core1/select to get anything. So yes, this is a bug. I'll remove the old default=true bit and file a bug to

Re: Multicore Issue with nightly build

2008-04-14 Thread Ryan McKinley
, there is no reason they should not work in multi-core invironment. Also try debugging using just url access (keep perl out of it for a bit) and make sure the issue is with just the server or with the client, or how you are using the client. ryan Thanks K On Tue, Apr 8, 2008 at 3:11 PM, Ryan McKinley

Re: Multicore Issue with nightly build

2008-04-08 Thread Ryan McKinley
$ Thanks On Thu, Apr 3, 2008 at 11:10 AM, Ryan McKinley [EMAIL PROTECTED] wrote: Do the cores: newswire2, TestIndex, and core5 work on their own? Can you load each of them into a clean multicore environment? (Grasping here but...) perhaps there is something wrong with the config for thoes cores

Re: Multicore Issue with nightly build

2008-04-03 Thread Ryan McKinley
Do the cores: newswire2, TestIndex, and core5 work on their own? Can you load each of them into a clean multicore environment? (Grasping here but...) perhaps there is something wrong with the config for thoes cores and they don't initalize properly and there is not a nice error. Do the

Re: Multiple unique field?

2008-04-02 Thread Ryan McKinley
Thank you for your reply In other word, can I set 2 unique key field? directly in solr: no In your own code, yes -- either in the client or in custom plugin. ryan

Re: problem with ShowFileRequestHandler

2008-04-02 Thread Ryan McKinley
On Apr 2, 2008, at 5:03 AM, 李银松 wrote: Edward.Zhang had commit the problem before I want to programmatically retrieve the schema and the config from the ShowFileRequestHandler. I encounter some trouble. There are CJK characters in the xml files as follows: !-- Field to use to

Re: Search exact terms

2008-04-02 Thread Ryan McKinley
search is based on the fields you index and how you index them. If you index using the text field -- with stemming etc, you will have to search with the same criteria. If you want exact search, consider the string type. If you want both, you can use the copyField to copy the same content

Re: How to handle multiple application?

2008-04-01 Thread Ryan McKinley
You *may* want to consider MultiCore: http://wiki.apache.org/solr/MultiCore but it may still be more appropriate to install multiple instances. On Apr 1, 2008, at 2:40 AM, Bhavin Pandya wrote: I have configured solr instance for one of my application in which there is one master server and 3

Re: Message = The remote server returned an error: (500) Internal Server Error.

2008-03-31 Thread Ryan McKinley
Are you using jetty? I forget the JIRA issue to point you too, but (assuming it is jetty), this has something to do with the war file extracting itself again. The solution is to change the directory it is configured to use. The default jetty settings included in the nightly builds should

Re: Can We append a field to the response that is not in the index but computed at runtime.

2008-03-31 Thread Ryan McKinley
Without writing any custom code, no. If you write a SearchComponent http://wiki.apache.org/solr/SearchComponent -- you can programatically change the response at runtime. ryan On Mar 28, 2008, at 3:38 AM, Umar Shah wrote: Hi, I wanted to know whether we can append a field (Fdyn say) to

Re: Can We append a field to the response that is not in the index but computed at runtime.

2008-03-31 Thread Ryan McKinley
the reults. and then prepare a custom field after iterating through all the documents in the result set. After having created this field for each document how do I add corresponding custom field to each document in the response set. On Mon, Mar 31, 2008 at 6:25 PM, Ryan McKinley [EMAIL

Re: Solr GET requests return quickly, POST requests take very long, why?

2008-03-31 Thread Ryan McKinley
what app container are you running on? (jetty? tomcat? resin...) what version of solr are you running? In solr -- the request goes through all the same hoops if it is GET or POST, so I suspect it is something to do with the container... but honestly don't know. ryan On Mar 31, 2008, at

Re: Can We append a field to the response that is not in the index but computed at runtime.

2008-03-31 Thread Ryan McKinley
On Mar 31, 2008, at 2:43 PM, Chris Hostetter wrote: : 2. Augment the documents with a field value -- this is a bit more : complex and runs the risk of name collisions with fields in your : documents. You can pull the docLIst out from the response and add : fields to each document. : :

Re: Update schema.xml without restarting Solr?

2008-03-26 Thread Ryan McKinley
Jeryl Cook wrote: Top often requested feature: 1. Make the option on using the RAMDirectory to hook in Terracotta( billion(s) of items in an index anyone?..it would be possible using this.) This is noted in: https://issues.apache.org/jira/browse/SOLR-465 Out of cueriosity, any sense of

Re: Are 1.2 and 1.3/trunk indexes compatible?

2008-03-26 Thread Ryan McKinley
It *should* work as a drop in replacement. Check: http://svn.apache.org/repos/asf/lucene/solr/trunk/CHANGES.txt So you should be good. Note that trunk has a newer verison of lucene, so the index will be automatically upgraded and you can't go back from there. so make sure to backup before

Re: Update schema.xml without restarting Solr?

2008-03-26 Thread Ryan McKinley
wanted to try Terracotta + Lucene, but... time. Thanks, Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message From: Ryan McKinley [EMAIL PROTECTED] To: solr-user@lucene.apache.org Sent: Wednesday, March 26, 2008 10:52:45 AM Subject: Re: Update schema.xml without

Re: Are 1.2 and 1.3/trunk indexes compatible?

2008-03-26 Thread Ryan McKinley
assume they could downgrade. Maybe under Upgrading from Solr 1.2? On Wed, Mar 26, 2008 at 12:59 PM, Ryan McKinley [EMAIL PROTECTED] wrote: It *should* work as a drop in replacement. Check: http://svn.apache.org/repos/asf/lucene/solr/trunk/CHANGES.txt So you should be good. Note that trunk has

Re: SolrJ Questions

2008-03-25 Thread Ryan McKinley
Vinci wrote: Hi all, I have checked the wiki and have some question in mind for the solrj... 1. If I want to run solrj as independent server, do I need to write my own client program? solrj is the client -- it connects to a server. You should not need to write your own client. 2. Can I

Re: Beginner questions: Jetty and solr with utf-8 + cached page + dedup

2008-03-25 Thread Ryan McKinley
Vinci wrote: Hi all, I am new to Solr and just make the Solr (3-8-nightly) run on the machine. I want the System to be more portable so I want to use the jetty Solr in example...before I tried to index the documents, I would like to ask some question: 1. Do I need to pay special attention when

Re: Update schema.xml without restarting Solr?

2008-03-25 Thread Ryan McKinley
The way we plan to use Solr together with a Content Management System is that the authors/editors can create new article/document types when needed, without any need to restart anything. Perhaps consider using dynamic fields if you need new fields:

Re: Update schema.xml without restarting Solr?

2008-03-25 Thread Ryan McKinley
[EMAIL PROTECTED] wrote: Quoting Ryan McKinley [EMAIL PROTECTED]: The way we plan to use Solr together with a Content Management System is that the authors/editors can create new article/document types when needed, without any need to restart anything. Do you really need to change

Re: Performance of Filter Query

2008-03-17 Thread Ryan McKinley
where 'distribution' of queried single-value field is extemely low, such as fq=country:USA Standard query q=country:USA is 1 times faster than less intelligent q=id:[* TO *]fq=country:USA Does anyone experience similar staff? It's probably specific to [* TO *] which was stupid in this

Re: ResponseBuilder public flags

2008-03-17 Thread Ryan McKinley
Tricia Williams wrote: Hi, I'm working on a custom SearchComponent to display context stored in payloads. I noticed that both the FacetComponent and the HighlightComponent are tightly coupled with the ResponseBuilder through the frequent use of doFacet and doHighlight. If I am building

<    1   2   3   4   5   6   7   >