Hi All,
I developed my own custom search component, in which I need to get the
requestors ip-address. But I can't seem to find a request object from
where I can get this string, ideas anyone?
Best,
Patrick
Hi,
When loading the solr core in an web application I am using EmbeddedSolrServer
class.
When loading the core directly through CoreContainer Class’s constructor
CoreContainer(String instanceDir, File configFile) it is giving me error of
“java.lang.NoClassDefFoundError:
: Well, there is the EmbeddedSolrServer - Solr runs totally fine as a pure Java
: API. It can also be embedded in your own web apps without having Solr as a
: standalone service.
and the starting point...
http://wiki.apache.org/solr/Solrj
IIRC: the API for monitoring/admining
You need to add the lucene-highlighter jar. If you download the Solr
distribution, you can find all the dependencies in the lib folder.
On Wed, Dec 24, 2008 at 1:49 PM, Sagar Khetkade
sagar.khetk...@hotmail.comwrote:
Hi,
When loading the solr core in an web application I am using
You need to use the hl, hl.fl and hl.snippets parameters. For example:
http://localhost:8983/solr/select/?stylesheet=q=solr+xmlversion=2.1start=0rows=10indent=onhl=truehl.fl=features,skuhl.snippets=3
See http://wiki.apache.org/solr/StandardRequestHandler for an example
output.
On Wed, Dec 24,
The request object is not exposed. You may need to hack
SolrDispatchFilter and put in the values into the request attributes
On Wed, Dec 24, 2008 at 1:46 PM, Plaatje, Patrick
patrick.plaa...@getronics.com wrote:
Hi All,
I developed my own custom search component, in which I need to get the
Hello,
While testing out the new replication features, I'm running into some
strange problem. On the slave, I keep getting an error like this after all
files have been copied from the master to the temporary index.x
directory:
SEVERE: Unable to move index file from:
Replication uses File#renameTo() method to move files from temp dir to
the index dir.If this call fails replication fails. We must do a file
copy if this fails.
report a bug .
--Noble
On Wed, Dec 24, 2008 at 3:47 PM, Jaco jdevr...@gmail.com wrote:
Hello,
While testing out the new replication
I had the same problem. It turned out that the list of files from the
master included duplicates. When the slave completes the download and
tries to move the files into the index it comes across a file that does
not exist because it has already been moved so it backs out the whole
operation.
Hello there Mark!
With SolrJ, you can simply do the following:
server.query(q) returns QueryResponse
the queryResponse has the method getResults() which returns
SolrDocumentList. This is an extended list containing SolrDocuments, but
it also exposes methods such as getNumFound(), which is
James thanks .
If this is true the place to fix this is in
ReplicationHandler#getFileList(). patch is attached.
On Wed, Dec 24, 2008 at 4:04 PM, James Grant james.gr...@semantico.com wrote:
I had the same problem. It turned out that the list of files from the master
included duplicates. When
Hi,
I think you are talking about limiting the content of content field in
search results.
We usually create a separate field in the schema and copy only abt 250
chars and
show that field during display time.This field is only stored and not
indexed.
Regards
Sujatha
On 12/24/08, Shalin
Very good! I applied the patch in the attached file, working fine now. I'll
keep monitoring and post any issues found.
Will this be included in some next nightly build?
Thanks very much for the very quick response!
Jaco.
2008/12/24 Noble Paul നോബിള് नोब्ळ् noble.p...@gmail.com
James thanks
Prabhu,
Use stream.url instead of stream.file when you specify remote file url.
Koji
RaghavPrabhu wrote:
Hi all,
I want to index the files by calling the solr instance using curl
call.For indexing the files, i gave the local file path that is working
fine. What i need to do is, indexing
I have set up an ngram filter and have run into a problem. Our index is
basically composed of products as the unique id. Each product also has a
brand name assigned to it. There are much fewer unique brand names than
products in the index. I tried to set up an ngram based on the brand name
but
It sounds like you want to get a list of brands that start with a particular
string, out of your index. But your index is based on products, not brands. Is
that correct?
If so, that has nothing to do with NGrams (or even tokenizing for that matter)
I think you should be doing a Facet query
Tried this once again, with different combinations, none worked actually..
David Smiley @MITRE.org wrote:
It seems you want Id to only match on complete field values. If that is
the case then you should not do tokenization nor perhaps any text analysis
altogether. Consider removing the
17 matches
Mail list logo