Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7525701
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T03:37:28+00:00 2026-05-30T03:37:28+00:00

I am using apache-nutch-1.4 with apache-solr-3.2.0 I have successfully integrated NUTCH with SOLR when

  • 0

I am using apache-nutch-1.4 with apache-solr-3.2.0

I have successfully integrated NUTCH with SOLR

when i have queried the following

mysite/solr/select/?q=bone&version=2.2&start=0&rows=10&indent=on

It gives me following result

<doc>
<float name="boost">1.0117649</float>
<str name="cache">content</str>
<str name="content"></str>
<str name="digest">9bf016ea547cf50be81e468553c483de</str>
<str name="id">http://107.21.107.118:8000/</str>
<str name="segment">20120214151903</str>
<str name="title">Home</str>
<date name="tstamp">2012-02-14T10:19:08.215Z</date>
<str name="url">mysite:8000/</str>
</doc>

Problem is when i have to search bone in particular category like cancer or Colorectal & Digestive

then what param i need to add in above query to get records for this specific category only

mysite:8983/solr/select/?q=bone&????????

i have urls like

mysite:8000/Encyclopedia/Patient Centers/

mysite:8000/Encyclopedia/Patient Centers/Cancer/

mysite:8000/Encyclopedia/Patient Centers/Cancer/Colorectal & Digestive/

my schema.xml file looks like this which i have added in NUTCH directory also….

http://dpaste.org/MTDF2/

my reputation is not 10 so i can not make any attachment here thats why i needed to paste schema.xml on dpaste.org…

sorry for the inconvenience it may have caused.

i will realy apreciate your advice and sugessions …

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T03:37:30+00:00Added an answer on May 30, 2026 at 3:37 am

    First you have to store Cancer and Colorectal & Digestive in a category field. You can use http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.PathHierarchyTokenizerFactory for that. Then
    the URL’s could look like mysite:8983/solr/select/?q=bone&fq=category:Cancer

    http://wiki.apache.org/solr/CommonQueryParameters#fq

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Using Apache Wicket 1.4: I have a panel that calls some setup Javascript in
Using Apache Felix, I have an OSGi component I've authored that wraps some middleware
I am using Apache CXF for developing Web services . I have a Webservice
I am using Apache POI to read xlsx file, it works well. I have
I am currently using Apache FOP and have a stylesheet (possibly from RenderX) that
I am using Apache Commons File Uploader API. It is working successfully when I
I'm using Apache and I have a sample web folder on my Local Host
I am using Apache CXF for making a simple restful application. I have a
I'm using Apache Derby 10.8 if it makes a difference. I have a very
I'm using Apache CXF for my restful web services. I have a service defined

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.