null) {
foreach ($solrquery->getFields() as $field) {
// Do something
}
}
?>
This is a minor request, I know. But, I feel that it would go a long way
toward polishing the extension up for general consumption.
Thank you,
Ken Stanley
PS. I apologize if this request has come throug
On Wed, Oct 13, 2010 at 2:11 PM, Lohrenz, Steven
wrote:
> Hi,
>
> I am trying to figure out if how I can accomplish the following:
>
> I have a fairly static and large set of resources I need to have indexed
> and searchable. Solr seems to be a perfect fit for that. In addition I need
> to have th
On Wed, Oct 13, 2010 at 6:38 PM, Shawn Heisey wrote:
> If you are using the DataImportHandler, you will not be able to search new
> data until the full-import or delta-import is complete and the update is
> committed. When I do a full reindex, it takes about 5 hours, and until it
> is finished,
the two cores/shards and
> only return results that exist in both (determined by the resourceId, which
> exists on both)?
>
> Cheers,
> Steve
>
> -Original Message-
> From: Ken Stanley [mailto:doh...@gmail.com]
> Sent: 13 October 2010 20:08
> To: solr-user@lucene.apache.
On Fri, Oct 15, 2010 at 7:42 AM, swapnil dubey wrote:
> Hi,
>
> I am using the full import option with the data-config file as mentioned
> below
>
>
>url="jdbc:mysql:///xxx" user="xxx" password="xx" />
>
>
>
>
>
>
>
>
> on running the full-imp
Hello all,
I am using SOLR-1.4.1 with the DataImportHandler, and I am trying to follow
the advice from
http://www.mail-archive.com/solr-user@lucene.apache.org/msg11887.html about
converting date fields to SortableLong fields for better memory efficiency.
However, whenever I try to do this using th
;
On Fri, Oct 15, 2010 at 6:42 PM, Ken Stanley wrote:
> Hello all,
>
> I am using SOLR-1.4.1 with the DataImportHandler, and I am trying to follow
> the advice from
> http://www.mail-archive.com/solr-user@lucene.apache.org/msg11887.htmlabout
> converting date fields to So
(i.e., using
template, or even another dateTimeFormat) results in the exception I've
described (displaying the date in the incorrect format).
Thanks,
Ken Stanley
Andrea,
Using the SOLR dismax query handler, you could set up queries like this to
boost on fields of your choice. Basically, the q parameter would be the
query terms (without the field definitions, and a qf (Query Fields)
parameter that you use to define your boost(s):
http://wiki.apache.org/solr
schema field definitionbut I think it's not possible isn't
> it?
>
> Regards
> Andrea
>
> --
> *From:* Ken Stanley [mailto:doh...@gmail.com]
> *To:* solr-user@lucene.apache.org
> *Sent:* Tue, 19 Oct 2010 15:05:31 +0200
> *Subjec
Ron,
In the past I've worked with SOLR for a product that required the ability to
search - separately - for companies, people, business lists, and a
combination of the previous three. In designing this in SOLR, I found that
using a combination of explicit field definitions and dynamic fields (
htt
Parinita,
In its simplest form, what does your entity definition for DIH look like;
also, what does one record from your xml look like? We need more information
before we can really be of any help. :)
- Ken
It looked like something resembling white marble, which was
probably what it was: somethi
On Fri, Oct 22, 2010 at 11:52 PM, wrote:
>
>
>
>
>
> processor="FileListEntityProcessor" fileName=".*xml" recursive="true"
> baseDir="C:\data\sample_records\mods\starr">
> url="${f.fileAbsolutePath}" stream="false" forEach="/mods"
> transformer="DateFormatTransformer,RegexTransformer,Templat
cument structure. So, if by example you had:
data
more data
...
Also note that, in my experience, case sensitivity matters when parsing your
xpath instructions.
I hope this helps!
- Ken Stanley
On Tue, Oct 26, 2010 at 9:15 AM, Savvas-Andreas Moysidis <
savvas.andreas.moysi...@googlemail.com> wrote:
> If I get your question right, you probably want to use the AND binary
> operator as in "samsung AND andriod AND GPS" or "+samsung +andriod +GPS"
>
>
N.b. For these queries you can also pass
On Mon, Oct 25, 2010 at 2:45 AM, Alex Matviychuk wrote:
> Getting this when deploying to tomcat:
>
> [INFO][http-4443-exec-3][solr.schema.IndexSchema] readSchema():394
> Reading Solr Schema
> [INFO][http-4443-exec-3][solr.schema.IndexSchema] readSchema():408
> Schema name=tsadmin
> [ERROR][http-4
On Wed, Oct 27, 2010 at 6:12 PM, Ron Mayer wrote:
> If I want to move a core from one physical machine to another,
> is it as simple as just
> scp -r core5 otherserver:/path/on/other/server/
> and then adding
>
> on that other server's solr.xml file and restarting the server there?
>
>
>
>
On Thu, Oct 28, 2010 at 8:07 AM, Ephraim Ofir wrote:
> How is this better than replication?
>
> Ephraim Ofir
>
>
It's not; for our needs here, we have not set up replication through SOLR.
We are working through OOM problems/performance tuning first, then "best
practices" second. I just wanted the
On Thu, Oct 28, 2010 at 2:57 PM, Michael McCandless <
luc...@mikemccandless.com> wrote:
> I don't think we should do this until it becomes a "real" problem.
>
> The number of job offers is tiny compared to dev emails, so far, as
> far as I can tell.
>
> Mike
>
>
By the time that it becomes a real
On Sun, Oct 31, 2010 at 12:12 PM, PeterKerk wrote:
>
> I have a city named 's-Hertogenbosch
>
> I want it to be indexed exactly like that, so "'s-Hertogenbosch" (without
> "")
>
> But now I get:
>
>1
>1
>1
>
>
> What filter should I add/remove from my field definition?
>
On Mon, Nov 1, 2010 at 10:26 PM, Tod wrote:
> I have a number of fields I need to do an exact match on. I've defined
> them as 'string' in my schema.xml. I've noticed that I get back query
> results that don't have all of the words I'm using to search with.
>
> For example:
>
>
> q=(((mykeyword
On Tue, Nov 2, 2010 at 8:19 AM, Erick Erickson wrote:
> That's not the response I get when I try your query, so I suspect
> something's not quite right with your test...
>
> But you could also try putting parentheses around the words, like
> mykeywords:(Compliance+With+Conduct+Standards)
>
> Best
ne anything (except formatting) to the
highlighting configuration in solrconfig.xml. Any help, assistance, and/or
guidance that can be provided would be greatly appreciated.
Thank you,
Ken Stanley
It looked like something resembling white marble, which was
probably what it was: something resembling white marble.
-- Douglas Adams, "The Hitchhikers Guide to the Galaxy"
On Tue, Nov 2, 2010 at 11:26 AM, Koji Sekiguchi wrote:
> (10/11/02 23:14), Ken Stanley wrote:
>
>> I've noticed in the stack trace that this exception occurs when trying to
>> build the query for the highlighting; I've confirmed this by copying the
>> param
you what you're looking for in
your query: http://wiki.apache.org/solr/DisMaxQParserPlugin. The same
solrconfig.xml that comes with SOLR has a dismax parser that you can modify
to your needs.
- Ken Stanley
On Sun, Nov 7, 2010 at 9:11 AM, Em wrote:
>
> Hi List,
>
> I got an issue with my Solr-environment in Tomcat.
> First: I am not very familiar with Tomcat, so it might be my fault and not
> Solr's.
>
> It can not be a solr-side configuration problem, since everything worked
> fine with my local Je
On Sun, Nov 7, 2010 at 9:34 AM, Em wrote:
>
> Hi Ken,
>
> thank you for your quick answer!
>
> To make sure that there occurs no mistakes at my application's side, I send
> my requests with the form that is available at solr/admin/form.jsp
>
> I changed almost nothing from the example-configurati
is - and I could be wrong - I would think that if you do
not set a value in SOLR, then it doesn't exist (either in the schema,
or during indexing). If you are expecting the other entries where
indativo was explicitly set to false to be true, you might need to
tweak your schema so that the fie
keywords, you would probably want a field in
SOLR that can contain the various tag keywords for each blog entry;
this is where multiValued comes in handy.
I hope that this helps to clarify things for you.
- Ken Stanley
On Tue, Nov 9, 2010 at 10:53 AM, Christopher Gross wrote:
> Thanks Ken.
>
> I'm using a script with Java/SolrJ to copy documents from their original
> locations into the Solr Index.
>
> I wasn't sure if the copyField would help me, but from your answers it seems
> that I'll have to handle it on my
on using the ngram filter:
http://www.lucidimagination.com/blog/2009/09/08/auto-suggest-from-popular-queries-using-edgengrams/
Here is the SOLR wiki entry for the filter:
http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.EdgeNGramFilterFactory
- Ken Stanley
On Tue, Nov 9, 2010 at 10:16 PM, Tri Nguyen wrote:
> Hi,
>
> Can I configure solr to schedule imports at a specified time (say once a day,
> once an hour, etc)?
>
> Also, does solr have some sort of heartbeat mechanism?
>
> Thanks,
>
> Tri
Tri,
If you use the DataImportHandler (DIH), you can set
On Wed, Nov 10, 2010 at 1:11 PM, robo - wrote:
> How do people email this list without getting spam filter problems?
>
Depends on which side of the spam filter that you're referring to.
I've found that to keep these emails from entering my spam filter is
to add a rule to Gmail that says "Never se
On Sat, Nov 13, 2010 at 4:56 PM, Ahmet Arslan wrote:
> For (1) you probably need to write a custom transformer. Something like:
> public Object transformRow(Map row) {
> String language_code = row.get("language_code");
> String text = row.get("text");
> if("en".equals(language_code))
> r
On Sat, Nov 13, 2010 at 5:59 PM, Ken Stanley wrote:
> CREATE TABLE documents (
> id INT NOT NULL AUTO_INCREMENT,
> language_code CHAR(2),
> tags CHAR(30),
> text TEXT,
> PRIMARY KEY (id)
> );
I apologize, but I couldn't leave the typo
2010/11/17 Jón Helgi Jónsson :
> I'm using index time boosting and need to specify every field I want
> to search (not use copy fields) or else the boosting wont work.
>
> This query with 1 saerchterm works fine, boosts look good:
>
> http://localhost:8983/solr/select/?
> q=companyName:foo
> +descr
On Wed, Nov 17, 2010 at 10:39 AM, Peter Blokland wrote:
> hi.
>
> i'm using solr and am trying to limit my resultset to documents
> that either have a publication date in the range * to now, or
> have no publication date set at all (field is not present).
> however, using this :
>
> (pubdate:[* TO
On Wed, Nov 17, 2010 at 11:00 AM, Peter Blokland wrote:
> hi,
>
> On Wed, Nov 17, 2010 at 10:54:48AM -0500, Ken Stanley wrote:
>
>> > pubdate:([* TO NOW] OR (NOT *))
>
>> Instead of using NOT, try simply prefixing the field name with a minus
>> sign.
On Thu, Nov 18, 2010 at 3:22 PM, Peter Karich wrote:
>
>> Hi,
>>
>> Please add preserveOriginal="1" to your WDF [1] definition and reindex
>> (or
>> just try with the analysis page).
>
> but it is already there!?
>
> generateWordParts="1" generateNumberParts="1"
> catenat
On Thu, Nov 18, 2010 at 3:33 PM, Eric Martin wrote:
> Hi,
>
>
>
> I searched google and the wiki to find out how I can force a full re-index
> of all of my content and I came up with zilch. My goal is to be able to
> adjust the weight settings, re-index my entire database and then search my
> sit
On Thu, Nov 18, 2010 at 3:42 PM, Eric Martin wrote:
> Ah, I am using an ApacheSolr module in Drupal and used nutch to insert the
> data into the Solr index. When I using Jetty I could just delete the data
> contents in sshd and then restart the service forcing the reindex.
>
> Currently, the Apa
41 matches
Mail list logo