Re: How to use XML parser in DIH for a database?

2011-02-16 Thread Bill Bell
hEntityProcessor ? > >On Wed, Feb 16, 2011 at 10:08 AM, Bill Bell wrote: >> I am using DIH. >> >> I am trying to take a column in a SQL Server database that returns an >>XML >> string and use Xpath to get data out of it. >> >> I noticed that Xpat

Dih sproc call

2011-02-18 Thread Bill Bell
I an trying to call a stored procedure using query= in DIH. I tried exec name, call name, and name and none works. This is SQL server 2008. Bill Bell Sent from mobile On Feb 18, 2011, at 10:27 AM, Paul Libbrecht wrote: > > Hello Solr-friends, > > I want to implement a query-e

Dih sproc does not work

2011-02-18 Thread Bill Bell
I an trying to call a stored procedure using query= in DIH. I tried exec name, call name, and name and none works. This is SQL server 2008. Bill Bell Sent from mobile

Re: Dih sproc does not work

2011-02-18 Thread Bill Bell
When I use 'call sprocname' it does call the process, but I am not getting the select into Solr. It shows 0 docs added. I am only returning 1 rs. Bill Bell Sent from mobile On Feb 18, 2011, at 11:49 AM, Bill Bell wrote: > I an trying to call a stored procedure using query= in

Re: DIH threads

2011-02-18 Thread Bill Bell
I used it on 4,0 and it did not help us. We were bound on SQL io Bill Bell Sent from mobile On Feb 18, 2011, at 4:47 PM, Mark wrote: > Has anyone applied the DIH threads patch on 1.4.1 > (https://issues.apache.org/jira/browse/SOLR-1352)? > > Does anyone know if this works an

Re: Datetime problems with dataimport

2011-02-21 Thread Bill Bell
B@1266f55 It looks like you are using MySQL. The data field needs to be in -MM-dd'T'hh:mm:ss format. I would probably concert datetime in Mysql to varchar() in this format. On 2/21/11 8:40 AM, "MOuli" wrote: > >Hey guys. > >I want to evaluate Solr as search engine, but now I have got an

Re: Multiple Blocked threads on UnInvertedField.getUnInvertedField() & SegmentReader$CoreReaders.getTermsReader

2011-02-22 Thread Bill Bell
+1 for more investigation Bill Bell Sent from mobile On Feb 22, 2011, at 7:13 AM, Rachita Choudhary wrote: > Hi Solr Users, > > We are upgrading from Solr 1.3 to Solr 1.4.1. > While using Solr 1.3 , we were seeing multiple blocking active threads on > "org.apache.luce

Re: fq field with facets

2011-02-23 Thread Bill Bell
Double quotes should work as well. Bill Bell Sent from mobile On Feb 23, 2011, at 7:17 AM, Erik Hatcher wrote: > Try - > > fq={!field f=category} > > You can also try surrounding with quotes, but that gets tricky and you'll > need to escape things possibly. Or you

Re: Problem with XML encode UFT-8

2011-02-23 Thread Bill Bell
Certain Utf characters are not valid and need to be stripped. BOT etc. Bill Bell Sent from mobile On Feb 23, 2011, at 5:29 AM, jayronsoares wrote: > > Hi Jan, > > I appreciate you attention. > I've tried to answer your questions to the best of my knowledge. >

Re: How to support fault tolerant indexing?

2011-02-23 Thread Bill Bell
Would love to help. Bill Bell Sent from mobile On Feb 23, 2011, at 2:42 AM, Jan Høydahl wrote: > Hi, > > This is what we're aiming for SolrCloud and ZooKeeper to handle for us. > It does not currently do that, but the vision is that ZK will keep track of > the state

Re: DataImportHandler in Solr 4.0

2011-02-23 Thread Bill Bell
It is a contrib module. But the example solrconfig should have the lib set. Bill Bell Sent from mobile On Feb 23, 2011, at 5:13 PM, Estrada Groups wrote: > Curious...why was this feature removed? > > Adam > > On Feb 23, 2011, at 6:55 PM, "Smiley, David W." w

Re: Question about Nested Span Near Query

2011-02-24 Thread Bill Bell
Send schema and document in XML format and I'll look at it Bill Bell Sent from mobile On Feb 24, 2011, at 7:26 AM, "Ahsan |qbal" wrote: > Hi > > To narrow down the issue I indexed a single document with one of the sample > queries (given below) which was giving

Re: Question Solr Index main in RAM

2011-02-24 Thread Bill Bell
How to use this? Bill Bell Sent from mobile On Feb 24, 2011, at 7:19 AM, Koji Sekiguchi wrote: > (11/02/24 21:38), Andrés Ospina wrote: >> >> Hi, >> >> My name is Felipe and i want to use the index main of solr in RAM memory. >> >> How it'

Ramdirectory

2011-02-24 Thread Bill Bell
I could not figure out how to setup the ramdirectory option in solrconfig.XML. Does anyone have an example for 1.4? Bill Bell Sent from mobile

Re: Ramdirectory

2011-02-24 Thread Bill Bell
Thanks - yeah that is why I asked how to use it. But I still don't know how to use it. https://hudson.apache.org/hudson/job/Solr-3.x/javadoc/org/apache/solr/core/ RAMDirectoryFactory.html https://issues.apache.org/jira/browse/SOLR-465 Is that right? Examples? Options? Where do I put that

Re: Solr running on many sites

2011-02-25 Thread Bill Bell
You would want to evaluate the size and the number of searched, plus how often the index will need changed data. There is no recipe just good experience. Bill Bell Sent from mobile On Feb 25, 2011, at 3:06 AM, Stefan Matheis wrote: > Hi Grant, > > Multi Sites == Multi Cores

Re: Distances in spatial search (Solr 4.0)

2011-02-28 Thread Bill Bell
Use sort with geodist() to sort by distance. Getting the distance returned us documented on the wiki if you are not using score. see reference to _Val_ Bill Bell Sent from mobile On Feb 28, 2011, at 7:54 AM, Alexandre Rocco wrote: > Hi guys, > > We are implementing a separate ind

Re: design help

2011-03-02 Thread Bill Bell
to get data from the database. There is also web crawling solutions like Nutch. I would get some data indexed and try searching it first. Lucid has a tutorial. Bill Bell Sent from mobile On Mar 2, 2011, at 4:39 AM, "Ken Foskey" wrote: > > I have read the solr book and the

Re: NRT in Solr

2011-03-09 Thread Bill Bell
So it looks like can handle adding new documents, and expiring old documents. Updating a document is not part of the game. This would work well for message boards or tweet type solutions. Solr can do this as well directly. Why wouldn't you just improve the document and facet caching so that when y

Re: docBoost

2011-03-09 Thread Bill Bell
Yes just add if statement based on a field type and do a row.put() only if that other value is a certain value. On 3/9/11 1:39 PM, "Brian Lamb" wrote: >That makes sense. As a follow up, is there a way to only conditionally use >the boost score? For example, in some cases I want to use the boos

Re: question regarding proper placement of geofilt in fq=

2011-03-10 Thread Bill Bell
Can you use 2 fq parameters ? The default op is usually set to AND. Bill Bell Sent from mobile On Mar 10, 2011, at 9:33 AM, Jerry Mindek wrote: > Hi, > > I am using rev 1036236 of solr trunk running as a servlet in Tomcat 7. > The doc set is sharded over 11 shards. > Curren

Re: question regarding proper placement of geofilt in fq=

2011-03-10 Thread Bill Bell
Also _query_ is the right approach when using fq with 2 Boolean values. Just make sure you double quote the "{!geofilt}" when using that. Bill Bell Sent from mobile On Mar 10, 2011, at 9:33 AM, Jerry Mindek wrote: > Hi, > > I am using rev 1036236 of solr trunk running as

Re: disquery - difference qf qs / pf ps

2011-03-11 Thread Bill Bell
What exactly is phrase and query slop? What technically is a slop? Bill Bell Sent from mobile On Mar 11, 2011, at 4:15 AM, Gastone Penzo wrote: > ok thank you!!! > > 2011/3/10 Jonathan Rochkind > >> On 3/10/2011 8:15 AM, Gastone Penzo wrote: >> >>> Than

Re: Query on facet field’s count

2011-03-11 Thread Bill Bell
There is my patch to do that. SOLR-2242 Bill Bell Sent from mobile On Mar 11, 2011, at 1:34 AM, rajini maski wrote: > Query on facet field results... > > > When I run a facet query on some field say : facet=on & > facet.field=StudyID I get list of distinct StudyID

Re: Solr and Permissions

2011-03-11 Thread Bill Bell
Why not just add a security field in Solr and use fq to limit to the users permissions? Bill Bell Sent from mobile On Mar 11, 2011, at 10:27 AM, Walter Underwood wrote: > On Mar 10, 2011, at 10:48 PM, go canal wrote: > >> But in real world, any content management systems ne

Re: disquery - difference qf qs / pf ps

2011-03-11 Thread Bill Bell
t;A query"~1 (a phrase query with slop = 1) > >Then, the document will match the phrase query, even if is not exact. > >I hope I'm clear enough. > >Tomás > > >On Fri, Mar 11, 2011 at 12:41 PM, Bill Bell wrote: > >> What exactly is phrase and query slop

Re: Query on facet field¹s count

2011-03-11 Thread Bill Bell
http://localhost:8983/solr/select?q=*:*&facet=true&facet.field=StudyID&face t.mincount=1&facet.limit=-1&f.StudyID.facet.namedistinct=1 Would do what you want I believe... On 3/11/11 8:51 AM, "Bill Bell" wrote: >There is my patch to do that. SOLR-2242 >

Re: MySQL queries high when using delta-import

2011-03-14 Thread Bill Bell
You could use clean= false parameter trick then just use query. Thus would reduce the queries by half for deltas. Bill Bell Sent from mobile On Mar 14, 2011, at 8:57 AM, Stefan Matheis wrote: > Robert, > > that may extremly depend on your (sub-)entities, and how you built your

Re: Different options for autocomplete/autosuggestion

2011-03-14 Thread Bill Bell
See how Lucid Enterprise does it... A bit differently. On 3/14/11 12:14 AM, "Kai Schlamp" wrote: >Hi. > >There seems to be several options for implementing an >autocomplete/autosuggestions feature with Solr. I am trying to >summarize those possibilities together with their advantages and >disadv

Re: Solr 1.4 replication - partial index on slave while indexing master

2011-03-14 Thread Bill Bell
Turn off all autocommitting.. On 3/14/11 7:04 AM, "lame" wrote: >Hi guys, >I have master slave replication enabled. Slave is replicating every 3 >minutes and I encourage problems while I'm performing full import >command on master (which takes about 7 minutes). >Slave repliacates partial index a

Re: Different options for autocomplete/autosuggestion

2011-03-14 Thread Bill Bell
org.apache.solr.spelling.suggest.jaspell.JaspellLookup autocomplete true On 3/14/11 8:16 PM, "Andy" wrote: >Can you provide more details? Or a link? > >--- On Mon, 3/14/11, Bill Bell wrote: > >> See how Lucid Enterprise does it... A >> bit diffe

Re: keeping data consistent between Database and Solr

2011-03-14 Thread Bill Bell
Look at Solandra. Solr + Cassandra. On 3/14/11 9:38 PM, "onlinespend...@gmail.com" wrote: >Like many people, Solr is not my primary data store. Not all of my data >need >be searchable and for simple and fast retrieval I store it in a database >(Cassandra in my case). Actually I don't have this

Stemming question

2011-03-15 Thread Bill Bell
When I use the Porter Stemmer in Solr, it appears to take works that are stemmed and replace it with the root work in the index. I verified this by looking at analysis.jsp. Is there an option to expand the stemmer to include all combinations of the word? Like include 's, ly, etc? Other options be

Re: Sorting on multiValued fields via function query

2011-03-16 Thread Bill Bell
I agree with this and it is even needed for function sorting for multvalued fields. See geohash patch for one wY to deal with multivalued fields on distance. Not ideal but it works efficiently. Bill Bell Sent from mobile On Mar 16, 2011, at 4:08 PM, Jonathan Rochkind wrote: > Huh, so luc

Re: Solrj performance bottleneck

2011-03-16 Thread Bill Bell
Try give Solr like 1.5gb by setting Jave params. Solr is usually CPU bound. So medium or large instances are good. Bill Bell Sent from mobile On Mar 16, 2011, at 10:56 AM, Asharudeen wrote: > Hi > > Thanks for your info. > > Currently my index size is around 4GB. No

Re: Sorting on multiValued fields via function query

2011-03-17 Thread Bill Bell
Here is a work around. Stick the high value and low value into other fields. Use those fields for sorting. Bill Bell Sent from mobile On Mar 17, 2011, at 8:49 AM, Yonik Seeley wrote: > On Wed, Mar 16, 2011 at 6:08 PM, Jonathan Rochkind wrote: >> Also... if lucene is already c

Re: Sorting on multiValued fields via function query

2011-03-17 Thread Bill Bell
By the way, this could be done automatically by Solr or Lucene behind the scenes. Bill Bell Sent from mobile On Mar 17, 2011, at 9:02 AM, Bill Bell wrote: > Here is a work around. Stick the high value and low value into other fields. > Use those fields for sorting. > > Bill

Re: from multiValued field to non-multiValued field with copyField?

2011-03-17 Thread Bill Bell
Do you use Dih handler? A script can do this easily. Bill Bell Sent from mobile On Mar 17, 2011, at 9:02 AM, Bernd Fehling wrote: > > Good idea. > Was also just looking into this area. > > Assuming my input record looks like this: > > >author_1

Re: Replication slows down massively during high load

2011-03-17 Thread Bill Bell
You could always rsync the index dir and reload (old scripts). But this is still something we should investigate. I had this same issue on high load and never really found a solution. Did you try another Nic card? See if the Nic is configured right? Routing? Speed of transfer? Bill Bell Sent

Re: from multiValued field to non-multiValued field with copyField?

2011-03-17 Thread Bill Bell
"foobar_bar", "foobar_low", "foobar_high", "foobar", 1); return row; } ]]> On 3/17/11 9:09 AM

Re: Search in all the documents

2011-03-18 Thread Bill Bell
q.alt=*:* should work Bill Bell Sent from mobile On Mar 18, 2011, at 1:37 PM, Juan Manuel Alvarez wrote: > Hello everyone! I would like to ask you a question. > > I am trying to search in all documents using the dismax parser. > > A sample query that works using the q para

Re: Embedded Solr

2011-03-21 Thread Bill Bell
Yes it needs java to run Bill Bell Sent from mobile On Mar 21, 2011, at 2:30 PM, Greg Georges wrote: > Hello all, > > I am using Solr in a Java architecture right now, and the results are great. > The app development team has asked me if it is possible to embed Solr, but >

Re: invert terms in search with exact match

2011-03-24 Thread Bill Bell
Yes create qt with dismax and qf on field that has query stopwords for the words you want to ignore. Bill Bell Sent from mobile On Mar 24, 2011, at 7:58 AM, Gastone Penzo wrote: > Hi, > is it possible with standard query search (not dismax) to have > exact matches that allow any te

Re: Best practice for rotating solr logs

2011-03-31 Thread Bill Bell
I would no recommend a restart. You can use log4j to do this without a restart. Bill Bell Sent from mobile On Mar 31, 2011, at 11:54 AM, Paul wrote: > I'm about to set up log rotation using logrotate, but I have a > question about how to do it. > > The general examples impl

Re: jetty update

2011-04-13 Thread Bill Bell
There is a patch that fixes UTF-8 and performance issues with Jetty. So I would recommend you use the patched version in 3.1/4.0. On 4/13/11 9:47 AM, "stockii" wrote: >is it necessary to update for solr ? > >- >--- System >

Re: DataImportHandlerDeltaQueryViaFullImport and delete query

2011-04-18 Thread Bill Bell
It runs delta imports faster. Normally you need to get the Pks that changed, and then run it through query="" which is slow when you have a lot of Ids It would be better if someone could just write a new fastdeltaquery="" s that you could do it in one step and also remove the queries... On

How to return score without using _val_

2011-04-19 Thread Bill Bell
I would like to influence the score but I would rather not mess with the q= field since I want the query to dismax for Q. Something like: fq={!type=dismax qf=$qqf v=$qspec}& fq={!type=dismax qt=dismaxname v=$qname}& q=_val_:"{!type=dismax qf=$qqf v=$qspec}" _val_:"{!type=dismax qt=dismaxname v=$

Re: How to return score without using _val_

2011-04-21 Thread Bill Bell
es the score! Of course you can specify the same >query twice, once as a filter - query and once as a regular query but I do >not see the reason to do so. It sounds like unnecessary effort without a >win. > >Regards, >Em > > >Bill Bell wrote: >> >> I would like

Re: Replication Clarification Please

2011-05-07 Thread Bill Bell
I did not see answers... I am not an authority, but will tell you what I think Did you get some answers? On 5/6/11 2:52 PM, "Ravi Solr" wrote: >Hello, >Pardon me if this has been already answered somewhere and I >apologize for a lengthy post. I was wondering if anybody could help m

Re: Replication Clarification Please

2011-05-10 Thread Bill Bell
pellchecker2 > 5K search-data/spellcheckerFile > 2.7G search-data > >Thanks, > >Ravi Kiran Bhaskar > >On Sat, May 7, 2011 at 11:49 PM, Bill Bell wrote: >> I did not see answers... I am not an authority, but will tell you what I >> think >> >>

Re: tomcat and multicore processors

2011-05-10 Thread Bill Bell
This is fine. Solr needs lots of memory though... :) It may not be as fast as you need, but you can test that. On 5/9/11 2:33 AM, "solr_begin...@onet.pl" wrote: >Hi, > >Is that possible that solr on tomcat on windows 2008 is using only one >core of processor? Do I need configure something to us

Re: Solr performance

2011-05-15 Thread Bill Bell
Yes just add fieldname: search string On 5/13/11 7:23 AM, "javaxmlsoapdev" wrote: >Alright. It turned out that defaultSearchField=title where title field is >of >a custom fieldType=edgyText > >where > > maxGramSize="25" side="back"/> > maxGramSize="25" side="front"/> > > >so if no value in

Re: K-Stemmer for Solr 3.1

2011-05-15 Thread Bill Bell
Did you upload the code to Jira? On 5/13/11 12:28 AM, "Bernd Fehling" wrote: >I backported a Lucid KStemmer version from solr 4.0 which I found >somewhere. >Just changed from >import org.apache.lucene.analysis.util.CharArraySet; // solr4.0 >to >import org.apache.lucene.analysis.CharArraySet; /

Re: Spatial search - SOLR 3.1

2011-05-15 Thread Bill Bell
Look up a few lines to see q={!func}geodist() ...&q={!func}geodist()&sfield=store&pt=45.15,-93.85&sort=score asc On 5/11/11 9:25 AM, "Smiley, David W." w

Re: Anyone having these Replication issues as well?

2011-05-17 Thread Bill Bell
Sundial? Ha ha Bill Bell Sent from mobile On May 17, 2011, at 3:23 PM, kenf_nc wrote: > Is it just me or is Replication a POS? (Solr 1.4.1, Tomcat 6.0.32) > > 1) I had set my pollInterval to 60 seconds but it appears to fire constantly > so I set it to 5 minutes and I see i

How to get right facet counts?

2011-05-19 Thread Bill Bell
We are having an issue with facet counts and groupingŠ We have multiple doctors with addresses. How do I search these lat longs? 1. Using SOLR 3.1, I can duplicate all fields except lat_long, and use group.field for the key. 2. I can use David Smiley's solution for multiple points (but it seems t

Re: Using Boost fields for a sum total score.

2011-05-19 Thread Bill Bell
Put everything except q in solrconfig... Then just use qt=nameinsolrconfig&q= On 5/19/11 7:52 PM, "ronveenstra" wrote: >Apologies if this is obvious, but I've been banging my head against a >wall. > >I can define a query like the following: > >http://HOST_NAME/solr/select?q=$search_term&bq=boo

Re: Query regarding Solr-2242 patch for getting distinct facet counts.

2011-05-27 Thread Bill Bell
I am pretty sure it does not yet support distributed shards.. But the patch was written for 4.0... So there might be issues with running it on 1.4.1. On 5/26/11 11:08 PM, "rajini maski" wrote: > The patch solr 2242 for getting count of distinct facet terms doesn't >work for distributedProce

Re: Nested grouping/field collapsing

2011-05-27 Thread Bill Bell
Did you try pivot? Bill Bell Sent from mobile On May 27, 2011, at 4:13 AM, Martijn Laarman wrote: > Hi, > > I was wondering if this issue had already been raised. > > We currently have a use case where nested field collapsing would be really > helpful > > I.e

Re: huge shards (300GB each) and load balancing

2011-06-08 Thread Bill Bell
Re Amazon elb. This is not exactly true. The ELB does load balancer internal IPs. But the ELB IP address must be external. Still a major issue unless you use authentication. Nginx and others can also do load balancing. Bill Bell Sent from mobile On Jun 8, 2011, at 3:32 AM, "Upay

Re: Code for getting distinct facet counts across shards(Distributed Process).

2011-06-09 Thread Bill Bell
ri, May 27, 2011 at 1:14 PM, rajini maski >wrote: > >> No such issues . Successfully integrated with 1.4.1 and it works across >> single index. >> >> for f.2.facet.numFacetTerms=1 parameter it will give the distinct count >> result >> >> for

Re: Multiple Values not getting Indexed

2011-06-09 Thread Bill Bell
Is there a way to splitBy and trim the field after splitting? I know I can do it with Javascript in DIH, but how about using the regex parser? On 6/9/11 1:18 AM, "Stefan Matheis" wrote: >Pawan, > >just separating multiple values by comma does not make them >multi-value in solr-speak. But if you

Re: Multiple Values not getting Indexed

2011-06-09 Thread Bill Bell
You have to take the input and splitBy something like "," to get it into an array and reposted back to Solr... I believe others have suggested that? On 6/8/11 10:14 PM, "Pawan Darira" wrote: >Hi > >I am trying to index 2 fields with multiple values. BUT, it is only >putting >1 value for each &

Best way to index source files?

2011-06-20 Thread Bill Bell
I have a directory of source files (text) and want to index them into SOLR. What is the easiest way to do that? Thanks. I could not see how to use DIH handler to do itŠ Thanks.

MultiValued facet behavior question

2011-06-21 Thread Bill Bell
I have a field: specialties that is multiValued. It indicates the doctor's specialties: cardiologist, internist, etc. When someone does a search: "Cardiologist", I use q=cardiologist&defType=dismax&qf=specialties&facet=true&facet.field=specialt ies What I want to come out in the facet is the Car

Re: MultiValued facet behavior question

2011-06-21 Thread Bill Bell
additional facets you don't want (e.g. that don't >match the initial query term). > >Maybe you can write what you see now, with what you >want to help clarify. > >On 06/21/2011 09:47 PM, Bill Bell wrote: >> I have a field: specialties that is multiValued. >> &

Re: MultiValued facet behavior question

2011-06-22 Thread Bill Bell
out. > >I hope someone on the list can give us some advice. I'll post our findings >to this topic. > >Regards, >Dennis > > >On Wed, Jun 22, 2011 at 5:37 AM, Bill Bell wrote: > >> Doing it with q=specialities:Cardiologist or >> q=Cardiologist&defT

Re: MultiValued facet behavior question

2011-06-22 Thread Bill Bell
ue that matches (scored) - NOT ALL VALUES in the multiValued field. I think it makes sense? On 6/22/11 1:42 AM, "Michael Kuhlmann" wrote: >Am 22.06.2011 05:37, schrieb Bill Bell: >> It can get more complicated. Here is another example: >> >> q=cardiology&defT

Re: configure dismax requesthandlar for boost a field

2011-07-04 Thread Bill Bell
Add score to the fl parameter. fl=*,score On 7/4/11 11:09 PM, "Romi" wrote: >I am not returning score for the queries. as i suppose it should be >reflected >in search results. means doc having query string in description field come >higher than the doc having query string in name field. > >And

Re: Exception when using result grouping and sorting by geodist() with Solr 3.3

2011-07-05 Thread Bill Bell
Did you add: fq={!geofilt} ?? On 7/3/11 11:14 AM, "Thomas Heigl" wrote: >Hello, > >I just tried up(down?)grading our current Solr 4.0 trunk setup to Solr >3.3.0 >as result grouping was the only reason for us to stay with the trunk. >Everything worked like a charm except for one of our queries, w

Re: faceting on field with two values

2011-07-05 Thread Bill Bell
The easiest way is to concat() the fields in SQL, and pass it to indexing as one field already merged together. Thanks, On 7/5/11 1:12 AM, "elisabeth benoit" wrote: >Hello, > >I have two fields TOWN and POSTALCODE and I want to concat those two in >one >field to do faceting > >My two fields ar

Re: How many fields can SOLR handle?

2011-07-05 Thread Bill Bell
This is taxonomy/index design... One way is to have a series of fields by category: TV - tv_size, resolution Computer - cpu, gpu Solr can have as many fields as you need, and if you do not store them into the index they are ignored. So if a user picks "TV", you pass these to Solr: q=*:*&facet=

Re: How can i find a document by a special id?

2011-07-20 Thread Bill Bell
Why not just search the 2 fields? q=*:*&fq=mediacode:AB OR id:123456 You could take the user input and replace it: q=*:*&fq=mediacode:$input OR id:$input Of course you can also use dismax and wrap with an OR. Bill Bell Sent from mobile On Jul 20, 2011, at 3:38 PM, Chris Hostette

Re: Data Import from a Queue

2011-07-20 Thread Bill Bell
Yes this is a good reason for using a queue. I have used Amazon SQS this way and it was simple to set up. Bill Bell Sent from mobile On Jul 20, 2011, at 2:59 AM, Stefan Matheis wrote: > Brandon, > > i don't know how they are using it in detail, but Part of Chef's Arch

Re: Spatial Search and Highlighting

2011-08-01 Thread Bill Bell
I think 4.0 supports fl=geodist() On 8/1/11 3:47 PM, "Ralf Musick" wrote: >Hi David, > >So that "As a temporary workaround for older Solr versions, it's >possible to obtain distances by using geodist or geofilt as the only >scoring part of the main query" >and "Highlighting" do not fit together,

Re: sort by function

2011-08-01 Thread Bill Bell
This seems like a bug. On 8/1/11 7:47 AM, "Jamie Johnson" wrote: >I've never tried but could it be sort=sum(field1,field2,field3)%20desc > >On Mon, Aug 1, 2011 at 9:43 AM, Gastone Penzo >wrote: >> Hi, >> i need to order by function like: >> >> sort=sum(field1,field2,field3)+desc >> >> but solr

Re: Problem with making Solr query

2011-08-05 Thread Bill Bell
String does no manipulation. You might need to switch the fieldtype. Also make sure your default field is title or add title:implementation in your search. Bill Bell Sent from mobile On Aug 5, 2011, at 8:43 AM, dhryvastov wrote: > Hi - > > I am new to Solr and Lucene and I have s

Re: getting result count only

2011-08-06 Thread Bill Bell
q=*:*&rows=0 On 8/6/11 8:24 PM, "Jason Toy" wrote: >How can I run a query to get the result count only? I only need the count >and so I dont need solr to send me all the results back.

Re: SOLR 3.3.0 multivalued field sort problem

2011-08-13 Thread Bill Bell
offices. Bill Bell Sent from mobile On Aug 13, 2011, at 12:31 PM, Martijn v Groningen wrote: > The first solution would make sense to me. Some kind of a strategy > mechanism > for this would allow anyone to define their own rules. Duplicating results > would be confusing to me

Re: ideas for indexing large amount of pdf docs

2011-08-13 Thread Bill Bell
You could send PDF for processing using a queue solution like Amazon SQS. Kick off Amazon instances to process the queue. Once you process with Tika to text just send the update to Solr. Bill Bell Sent from mobile On Aug 13, 2011, at 10:13 AM, Erick Erickson wrote: > Yeah, parsing PDF fi

Re: Problem with xinclude in solrconfig.xml

2011-08-13 Thread Bill Bell
What was it? Bill Bell Sent from mobile On Aug 10, 2011, at 2:21 PM, Way Cool wrote: > Sorry for the spam. I just figured it out. Thanks. > > On Wed, Aug 10, 2011 at 2:17 PM, Way Cool wrote: > >> Hi, Guys, >> >> Based on the document below, I should be ab

Loggly support

2011-08-14 Thread Bill Bell
How do you setup log4j to work with Loggly for SOLR logs? Anyone have this set up? Bill

Re: exceeded limit of maxWarmingSearchers ERROR

2011-08-14 Thread Bill Bell
OK, I'll ask the elephant in the roomŠ. What is the difference between the new UpdateHandler from Mark and the SOLR-RA? The UpdateHandler works with 4.0 does SOLR-RA work with 4.0 trunk? Pros/Cons? On 8/14/11 8:10 PM, "Nagendra Nagarajayya" wrote: >Naveen: > >NRT with Apache Solr 3.3 and Ra

Re: Cache replication

2011-08-14 Thread Bill Bell
OK. But SOLR has built-in caching. Do you not like the caching? What so you think we should change to the SOLR cache? Bill On 8/10/11 9:16 AM, "didier deshommes" wrote: >Consider putting a cache (memcached, redis, etc) *in front* of your >solr slaves. Just make sure to update it when replicati

Re: exceeded limit of maxWarmingSearchers ERROR

2011-08-14 Thread Bill Bell
;http://solr-ra.tgels.org >http://rankingalgorithm.tgels.org > > > > > >On 8/14/2011 7:11 PM, Bill Bell wrote: >> OK, >> >> I'll ask the elephant in the roomŠ. >> >> What is the difference between the new UpdateHandler from Mark and the >>

Score

2011-08-15 Thread Bill Bell
How do I change the score to scale it between 0 and 100 irregardless of the score? q.alt=*:*&bq=lang:Spanish&defType=dismax Bill Bell Sent from mobile

Re: OOM due to JRE Issue (LUCENE-1566)

2011-08-16 Thread Bill Bell
Send gc log and force dump if you can when it happens. Bill Bell Sent from mobile On Aug 16, 2011, at 5:27 AM, Pranav Prakash wrote: >> >> >> AFAIK, solr 1.4 is on Lucene 2.9.1 so this patch is already applied to >> the version you are using. >> maybe you can p

Re: Terms.regex performance issue

2011-08-22 Thread Bill Bell
We do something like: http://localhost:8983/solr/provs/terms?terms.fl=payor&terms.regex.flag=case _insensitive&terms.regex=%28.*%29WHAT USER TYPES%28.*%29&terms.limit=-1 We want not just prefix but anywhere in the terms. On 8/19/11 5:21 PM, "Chris Hostetter" wrote: > >: Subject: Terms.regex

Re: hierarchical faceting in Solr?

2011-08-22 Thread Bill Bell
Naomi, Just create a login and update it!! On 8/22/11 12:27 PM, "Erick Erickson" wrote: >Try searching the Solr user's list for "hierarchical", this topic >has been discussed numerous times. > >It would be great if you could collate the various solutions >and update the wiki, all you have to d

Re: copyField for big indexes

2011-08-22 Thread Bill Bell
It depends. copyField may be good if you want to copy into a Soundex field, and then boost the sounded field lower than the tokenized field. What are you trying to do ? On 8/22/11 11:14 AM, "Tom" wrote: >Is it a good rule of thumb, that when dealing with large indexes copyField >should not be

Boost or BQ?

2011-08-22 Thread Bill Bell
What is the different between boost= and bq= ? I cannot find any documentationŠ

Re: Problem with sorting solr docs

2012-07-04 Thread Bill Bell
Would all optional fields need the sortmissinglast and sortmissingfirst set even when not sorting on that field? Seems broken to me. Sent from my Mobile device 720-256-8076 On Jul 3, 2012, at 6:45 AM, Shubham Srivastava wrote: > Just adding to the below--> If there is a field(say X) which is

Re: Mmap

2012-07-16 Thread Bill Bell
Any thought on this? Is the default Mmap? Sent from my mobile device 720-256-8076 On Feb 14, 2012, at 7:16 AM, Bill Bell wrote: > Does someone have an example of using unmap in 3.5 and chunksize? > > I am using Solr 3.5. > > I noticed in solrconfig.x

Re: How to setup SimpleFSDirectoryFactory

2012-07-19 Thread Bill Bell
th a helper in solrconfig.xml... >> >> if (Constants.WINDOWS) { >> if (MMapDirectory.UNMAP_SUPPORTED && Constants.JRE_IS_64BIT) >> return new MMapDirectory(path, lockFactory); >> else >>return new SimpleFSDirectory(path, lockFactory); >> } else { >>return new NIOFSDirectory(path, lockFactory); >> } >> } >> >> >> >> -- >> Bill Bell >> billnb...@gmail.com >> cell 720-256-8076 > >

Re: How to setup SimpleFSDirectoryFactory

2012-07-22 Thread Bill Bell
MMapDirectoryFactory it goes back down. When is the MMap supposed to release memory ? It only does it on JVM restart now. Bill Bell Sent from mobile On Jul 22, 2012, at 6:21 AM, geetha anjali wrote: > It happens in 3.6, for this reasons I thought of moving to solandra. > If I do a commit, t

Re: Question

2010-01-13 Thread Bill Bell
On Wed, Jan 13, 2010 at 10:17 AM, Bill Bell wrote: > I am using Solr 1.4, and have 3 cores defined in solr.xml. Question on > replication > > 1. How do I set up rsync replication from master to slaves? It was > easy to do with just one core and one script.conf, but with multip

<    1   2