diff --git a/.DS_Store b/.DS_Store index f1a3ebe..131ad82 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/.gitignore b/.gitignore index 6bbafdd..dc76ea6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ /solr-server/solr/data/index/ /solr-server/solr/data/spellcheck/ + +.DS_Store \ No newline at end of file diff --git a/components/cfsolrlib.cfc b/components/cfsolrlib.cfc index 1fcc2b9..b6ac15b 100644 --- a/components/cfsolrlib.cfc +++ b/components/cfsolrlib.cfc @@ -53,23 +53,46 @@ - + - - + + + + + + + + + + + - + + + + + + + + + + + + + + + diff --git a/indexExample.cfm b/indexExample.cfm index 2af535a..6098849 100644 --- a/indexExample.cfm +++ b/indexExample.cfm @@ -19,8 +19,8 @@ FROM art // example for indexing content from a rich file myFile = expandPath("NRRcreditsbyartist.pdf"); fmap = structNew(); - fmap.title = "title"; - fmap.content = "text"; + fmap["title"] = "title"; + fmap["content"] = "text"; sampleSolrInstance.addFile("file-1",myFile,fmap,true,"attr_"); sampleSolrInstance.commit(); // do a final commit of our changes diff --git a/solr-server/.DS_Store b/solr-server/.DS_Store deleted file mode 100644 index 4800cd2..0000000 Binary files a/solr-server/.DS_Store and /dev/null differ diff --git a/solr-server/solr/.DS_Store b/solr-server/solr/.DS_Store deleted file mode 100644 index 1648b5a..0000000 Binary files a/solr-server/solr/.DS_Store and /dev/null differ