A further update on this is that (when 'Date' is searched using the same URL
as posted in the previous message), whether Date is of type string or text,
the full (exact) content of a field has to be searched to return a result.
Why is this not the case with Content? I tried changing the default
Do you know the specific syntax when querying different fields?
http://localhost:8080/solr/select/?q=Date:%222000%22&version=2.2&start=0&rows=10&indent=on
doesn't appear to return anything when I post it in my browser, when it
should, but (as before) if you change 'Date' to 'Content' it works!
(
On Apr 13, 2009, at 11:20 AM, Johnny X wrote:
Also, in reference to the other question, I'm currently trying to
edit the
main search page to search multiple fields.
Essentially, I detect if each field has been posted or not using:
if ($_POST['FIELD'] != '') {
$query = $query . '+FIELDNAME
Also, in reference to the other question, I'm currently trying to edit the
main search page to search multiple fields.
Essentially, I detect if each field has been posted or not using:
if ($_POST['FIELD'] != '') {
$query = $query . '+FIELDNAME:' . $_POST['FIELD'];
}
Once it's processed all the
Thanks for the reply Erik!
Based on a previous page I used to return queries I've developed this code
below for the page I need to do all of the above.
CODE
http://localhost:8080/solr/');
function request($reqData, $type){
$header[] = "Content-type: text/xml; charset=UTF-8";
$session
On Apr 10, 2009, at 8:36 PM, Johnny X wrote:
How could I write some code in PHP to place in a button to remove a
returned
item from the index?
You can issue a delete command to Solr by simply doing a GET (or POST)
to http://localhost:8983/solr/update?stream.body=%3Cdelete%3E%3Cid%3ESOMEID%