Comments (11)
Hello,
How to use this function ?
Thanks
Franck.
Original comment by [email protected]
on 23 Apr 2010 at 10:19
from solr-php-client.
Hi Franck,
The patch needs to be applied against the current source. Download the source
from
the downloads page, download the patch and apply it using the patch command,
i.e.
tar xzf SolrPhpClient.r22.2009-11-09.tgz
cd SolrPhpClient
patch -p1 < ../SPC_Solr_Cell.patch
You can then use the Apache_Solr_Service::extract() function to extract content
using
Solr Cell. You will need to provide the other parameters as a URL and the path
to
the file to the extract function.
Original comment by [email protected]
on 23 Apr 2010 at 10:39
from solr-php-client.
I've committed an implemenation for this based on your original patch in r34.
Note that I changed the
signature to match more closely to other methods that take parameters
(primarily search). I also added the
ability to take a document instance for simpler management of field literals
and boosts.
I had some issues with getting the parameter values in the multipart/form-data
post body as they should be.
So I went with the simplest implementation that works for now (parameters go in
query string, post body is
binary file content).
Please let me know if this meets your usage.
Original comment by [email protected]
on 24 Apr 2010 at 12:50
- Changed state: Fixed
from solr-php-client.
[deleted comment]
from solr-php-client.
Hi Donovan,
Looks great, thanks, should work fine. I'll integrate it with our application
when I
get some time.
Liam
Original comment by [email protected]
on 2 May 2010 at 10:16
from solr-php-client.
[deleted comment]
from solr-php-client.
[deleted comment]
from solr-php-client.
Take a look at the extraction handler documentation again:
http://wiki.apache.org/solr/ExtractingRequestHandler
All extra document fields need to be prefixed with "literal." Also, you'll
always (just like with regular
documents) need to provide a document id (whatever you've configured in your
solr schema configuration
file). So if your id field is "id" you need to pass a field named "literal.id"
to the extraction handler. The
extraction handler is basically namespacing your extra document fields so that
they don't interfere with its
named parameters.
Of note, the extract function also optionally takes an Apache_Solr_Document
instance with fields, these fields
will automatically be "namespaced" by the "literal." prefix for you as a
convenience.
Finally, these types of question are better suited for the google discussion
group I've set up. Please use that.
Original comment by [email protected]
on 11 May 2010 at 2:39
from solr-php-client.
Hello,
It work fine .. Very good job!
Is it possible to see the content field ? it 's searchable
but not stored .
Tahnks
Original comment by [email protected]
on 11 May 2010 at 3:00
from solr-php-client.
whether a field is stored is controlled by the solr schema.xml configuration
file
See http://wiki.apache.org/solr/SchemaXml#Common_field_options
Original comment by [email protected]
on 11 May 2010 at 3:08
from solr-php-client.
Sorry for the extremely slow feedback here! I have integrated your updates and
it works great, thanks, aside from the trivial issue I have raised (with a
patch) in issue 47.
Original comment by [email protected]
on 6 Sep 2010 at 2:59
from solr-php-client.
Related Issues (20)
- How to enable wildcard HOT 1
- Cannot use root-level URL Solr servers HOT 2
- Basic Auth HOT 5
- Added feature. Get Solr system information HOT 1
- SOLR - 1 writer server 1 search server work on realtime HOT 4
- Basic Auth r64 Does Not Support Distributed Searches HOT 2
- keep alive connection HOT 1
- Support for proxy
- Composer support HOT 1
- Update copyrights to reflect PTC ownership HOT 1
- incorrect implementation of "ping" HOT 10
- Facet Query problem HOT 1
- Patch for /branches/response_parsing/Apache/Solr/Service.php HOT 2
- Search handler resolution HOT 1
- getting problem in configuring the solr-php-cline HOT 1
- Solr 4.3.0 HOT 3
- Get Spell Check Suggestions in frontend.
- Solr Indexing errror:Fatal error: Uncaught exception 'Apache_Solr_HttpTransportException' with message ''400' Status: Bad Request' HOT 1
- Add support to set search servlet [other than "select"] HOT 1
- PERFORMANCE WARNING: Overlapping onDeckSearchers=2 &Error opening new searcher.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from solr-php-client.